]> granicus.if.org Git - php/commitdiff
for struct sockaddr
authorAndrey Hristov <andrey@php.net>
Fri, 18 Jun 1999 15:54:14 +0000 (15:54 +0000)
committerAndrey Hristov <andrey@php.net>
Fri, 18 Jun 1999 15:54:14 +0000 (15:54 +0000)
ext/standard/fsock.h

index 17801cc0abb92d23b31b4087aed7bd77462381f3..d56ffad7537c28a94723d9df41d748c728e40d1b 100644 (file)
 # 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