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:
Bo Peng 2007-01-05 22:16:04 +00:00
parent 5c86dd035f
commit f5114ba80d

View File

@ -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());