From: Wez Furlong Date: Sun, 6 May 2001 09:39:11 +0000 (+0000) Subject: Fixed win32 build problem. X-Git-Tag: php-4.0.6RC1~120 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f943b6012f6baa779f7112a0cf9b27021d35b25;p=php Fixed win32 build problem. --- diff --git a/ext/standard/fsock.h b/ext/standard/fsock.h index 6d35af9674..9f369a8b27 100644 --- a/ext/standard/fsock.h +++ b/ext/standard/fsock.h @@ -27,29 +27,10 @@ #include "file.h" -#ifdef PHP_WIN32 -# ifndef WINNT -# define WINNT 1 -# endif -# undef FD_SETSIZE -# include "arpa/inet.h" -# define socklen_t unsigned int -#endif - -#ifdef HAVE_NETINET_IN_H -# include -#endif - -#ifdef HAVE_SYS_SOCKET_H -#include -#endif - -#ifdef HAVE_SYS_TIME_H -#include -#endif - #define PHP_FSOCK_CHUNK_SIZE 8192 +#include "php_network.h" + #if HAVE_PHP_STREAM extern php_stream_ops php_stream_socket_ops; #endif