]> git.lyx.org Git - lyx.git/blobdiff - src/support/forkedcontr.C
make "make distcheck" work
[lyx.git] / src / support / forkedcontr.C
index 77b3f615d6f6c057036690796390858087ab3579..a869bdc909b810d6012a8d9814d7c90107f22602 100644 (file)
@@ -23,7 +23,9 @@
 
 #include <cerrno>
 #include <cstdlib>
-#include <unistd.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
 #include <sys/wait.h>
 
 using boost::bind;