cvs: php4 /ext/standard fsock.h

From: Date: Sun, 06 May 2001 09:39:11 +0000
Subject: cvs: php4 /ext/standard fsock.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-5556@lists.php.net to get a copy of this message
wez Sun May 6 02:39:11 2001 EDT Modified files: /php4/ext/standard fsock.h Log: Fixed win32 build problem. Index: php4/ext/standard/fsock.h diff -u php4/ext/standard/fsock.h:1.36 php4/ext/standard/fsock.h:1.37 --- php4/ext/standard/fsock.h:1.36 Sat May 5 11:36:22 2001 +++ php4/ext/standard/fsock.h Sun May 6 02:39:11 2001 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: fsock.h,v 1.36 2001/05/05 18:36:22 wez Exp $ */ +/* $Id: fsock.h,v 1.37 2001/05/06 09:39:11 wez Exp $ */ /* Synced with php 3.0 revision 1.24 1999-06-18 [ssb] */ @@ -27,28 +27,9 @@ #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 <netinet/in.h> -#endif - -#ifdef HAVE_SYS_SOCKET_H -#include <sys/socket.h> -#endif - -#ifdef HAVE_SYS_TIME_H -#include <sys/time.h> -#endif - #define PHP_FSOCK_CHUNK_SIZE 8192 + +#include "php_network.h" #if HAVE_PHP_STREAM extern php_stream_ops php_stream_socket_ops;

« previous php.cvs (#5556) next »