]> git.lyx.org Git - lyx.git/blobdiff - src/pch.h
Fix bug 886 and others not reported related with the document paper size.
[lyx.git] / src / pch.h
index 053b278860ebb85a4515029e5e0169f0fb7526ae..cac89198fa2104843adc411d21e2d68f6d2e569d 100644 (file)
--- a/src/pch.h
+++ b/src/pch.h
 #ifdef HAVE_SYS_SELECT_H
 # include <sys/select.h>
 #endif
-#include <sys/stat.h>
-#include <sys/time.h>
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+#endif
 
 #include <algorithm>
 #include <cerrno>