summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>1999-06-18 15:54:14 +0000
committerAndrey Hristov <andrey@php.net>1999-06-18 15:54:14 +0000
commitcd74a455dd4ca4959c45f1226c8fb5db07372e38 (patch)
treef7ef04e31a1897d511bdbde0e4396eab8267f289
parent62fc2f5f7f7481522f790957108342c441143e30 (diff)
downloadphp-git-cd74a455dd4ca4959c45f1226c8fb5db07372e38.tar.gz
for struct sockaddr
-rw-r--r--ext/standard/fsock.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/fsock.h b/ext/standard/fsock.h
index 17801cc0ab..d56ffad753 100644
--- a/ext/standard/fsock.h
+++ b/ext/standard/fsock.h
@@ -46,6 +46,10 @@
# include <netinet/in.h>
#endif
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
extern php3_module_entry fsock_module_entry;
#define phpext_fsock_ptr &fsock_module_entry