]> git.lyx.org Git - lyx.git/blobdiff - src/pch.h
Trivial fixes to some warnings thrown up by MSVS.Net 2003.
[lyx.git] / src / pch.h
index 010094feb493da6bc351e206dc080117b789e9ee..cac89198fa2104843adc411d21e2d68f6d2e569d 100644 (file)
--- a/src/pch.h
+++ b/src/pch.h
 #include <boost/utility.hpp>
 
 #include <fcntl.h>
-#include <sys/select.h>
-#include <sys/stat.h>
-#include <sys/time.h>
+#ifdef HAVE_SYS_SELECT_H
+# include <sys/select.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+#endif
 
 #include <algorithm>
 #include <cerrno>