]> git.lyx.org Git - lyx.git/blobdiff - src/support/unlink.C
make "make distcheck" work
[lyx.git] / src / support / unlink.C
index 5ddcc9a983a085b909c4a04ff3d6ceadd511f4f2..648bcca5632614ebeb14275feb3eef581cc119b9 100644 (file)
@@ -12,7 +12,9 @@
 
 #include "support/lyxlib.h"
 
-#include <unistd.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
 
 int lyx::support::unlink(std::string const & pathname)
 {