]> git.lyx.org Git - lyx.git/blobdiff - src/support/pch.h
make "make distcheck" work
[lyx.git] / src / support / pch.h
index 731f43c87c7be2ba5d4511031163be070a84b919..686c524382b78f4ab98b822eed0544688d19b370 100644 (file)
@@ -21,7 +21,9 @@
 #include <sys/un.h>
 #include <sys/wait.h>
 #include <time.h>
-#include <unistd.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
 
 #include <algorithm>
 #include <cctype>