]> git.lyx.org Git - features.git/commitdiff
Protect #include <sys/select.h> with preprocessor guard.
authorAngus Leeming <leeming@lyx.org>
Sat, 23 Apr 2005 00:28:45 +0000 (00:28 +0000)
committerAngus Leeming <leeming@lyx.org>
Sat, 23 Apr 2005 00:28:45 +0000 (00:28 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9866 a592a061-630c-0410-9148-cb99ea01b6c8

src/pch.h

index 010094feb493da6bc351e206dc080117b789e9ee..053b278860ebb85a4515029e5e0169f0fb7526ae 100644 (file)
--- a/src/pch.h
+++ b/src/pch.h
@@ -23,7 +23,9 @@
 #include <boost/utility.hpp>
 
 #include <fcntl.h>
-#include <sys/select.h>
+#ifdef HAVE_SYS_SELECT_H
+# include <sys/select.h>
+#endif
 #include <sys/stat.h>
 #include <sys/time.h>