]> granicus.if.org Git - php/commitdiff
Fixed bug #27020 (Compile failure; sys/select.h: No such file or directory)
authorfoobar <sniper@php.net>
Sun, 25 Jan 2004 06:09:36 +0000 (06:09 +0000)
committerfoobar <sniper@php.net>
Sun, 25 Jan 2004 06:09:36 +0000 (06:09 +0000)
ext/standard/file.c

index 51351ef717ba091c66ae8b63d8accd3f255c8645..ee5e9ff9f929c3118225105a066dfb22b9345a84 100644 (file)
 #include <sys/socket.h>
 #include "netware/param.h"
 #else
+#if HAVE_SYS_PARAM_H
 #include <sys/param.h>
+#endif
+#if HAVE_SYS_SELECT_H
 #include <sys/select.h>
+#endif
 #if defined(NETWARE) && defined(USE_WINSOCK)
 #include <novsock2.h>
 #else