mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
src/support/unlink.C: Fix an #include error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16541 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5c86dd035f
commit
f5114ba80d
@ -13,14 +13,13 @@
|
||||
#include "support/lyxlib.h"
|
||||
#include "support/filename.h"
|
||||
|
||||
|
||||
namespace lyx {
|
||||
namespace support {
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
namespace lyx {
|
||||
namespace support {
|
||||
|
||||
int unlink(FileName const & pathname)
|
||||
{
|
||||
return ::unlink(pathname.toFilesystemEncoding().c_str());
|
||||
|
Loading…
Reference in New Issue
Block a user