summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-02-02 09:41:46 +0000
committerPierre Joye <pajoye@php.net>2009-02-02 09:41:46 +0000
commitacdb832581a05bc3304b3cb5e01fa12bebb98e7d (patch)
tree5b9a07e2e5df9a04c8bd4ffccab947d92cc766bc
parent10bf149a608b848324a1083aa2dc4b55c5f302f1 (diff)
downloadphp-git-acdb832581a05bc3304b3cb5e01fa12bebb98e7d.tar.gz
- silent compiler warning about socklen_t benign redefinition
-rw-r--r--main/streams/php_stream_transport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/streams/php_stream_transport.h b/main/streams/php_stream_transport.h
index 908c944ee9..ae06e7a4c6 100644
--- a/main/streams/php_stream_transport.h
+++ b/main/streams/php_stream_transport.h
@@ -17,6 +17,10 @@
*/
/* $Id$ */
+#ifdef PHP_WIN32
+#include "config.w32.h"
+#include <Ws2tcpip.h>
+#endif
#if HAVE_SYS_SOCKET_H
# include <sys/socket.h>