cvs: php4(PHP_4_0_6) /ext/standard fsock.h
| From: | Wez Furlong | Date: | Sun, 06 May 2001 09:38:55 +0000 |
| Subject: | cvs: php4(PHP_4_0_6) /ext/standard fsock.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5555@lists.php.net to get a copy of this message | ||
wez Sun May 6 02:38:55 2001 EDT
Modified files: (Branch: PHP_4_0_6)
/php4/ext/standard fsock.h
Log:
Fixed build problem for win32
Index: php4/ext/standard/fsock.h
diff -u php4/ext/standard/fsock.h:1.36 php4/ext/standard/fsock.h:1.36.2.1
--- php4/ext/standard/fsock.h:1.36 Sat May 5 11:36:22 2001
+++ php4/ext/standard/fsock.h Sun May 6 02:38:54 2001
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: fsock.h,v 1.36 2001/05/05 18:36:22 wez Exp $ */
+/* $Id: fsock.h,v 1.36.2.1 2001/05/06 09:38:54 wez Exp $ */
/* Synced with php 3.0 revision 1.24 1999-06-18 [ssb] */
@@ -26,27 +26,7 @@
#define FSOCK_H
#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
+#include "php_network.h"
#define PHP_FSOCK_CHUNK_SIZE 8192