summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2004-01-25 06:09:36 +0000
committerfoobar <sniper@php.net>2004-01-25 06:09:36 +0000
commit2a05750281bad271128b32e1dbbf9e8cc0494439 (patch)
tree16548e6b50b81dde17dabb2d08990808ea777218 /ext
parent733e2dae085f0a82e67a20f113606bb8f96da52f (diff)
downloadphp-git-2a05750281bad271128b32e1dbbf9e8cc0494439.tar.gz
Fixed bug #27020 (Compile failure; sys/select.h: No such file or directory)
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c
index 51351ef717..ee5e9ff9f9 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -52,8 +52,12 @@
#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