summaryrefslogtreecommitdiff
path: root/main/network.c
diff options
context:
space:
mode:
authorElizabeth Marie Smith <auroraeosrose@php.net>2007-10-09 21:53:44 +0000
committerElizabeth Marie Smith <auroraeosrose@php.net>2007-10-09 21:53:44 +0000
commit4e339842fc7037e66f6d543ce7bc855987715c5d (patch)
treee799388221c2359945a45c2de15e93185a71979e /main/network.c
parent1d0c11f472b4440ed6670c3076a850f18d0272d2 (diff)
downloadphp-git-4e339842fc7037e66f6d543ce7bc855987715c5d.tar.gz
Fix build on MSVC 2008 - channeling Wez
Diffstat (limited to 'main/network.c')
-rw-r--r--main/network.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/network.c b/main/network.c
index 725c223613..927bfad20e 100644
--- a/main/network.c
+++ b/main/network.c
@@ -90,6 +90,9 @@ int inet_aton(const char *, struct in_addr *);
# define SOCK_ERR INVALID_SOCKET
# define SOCK_CONN_ERR SOCKET_ERROR
# define PHP_TIMEOUT_ERROR_VALUE WSAETIMEDOUT
+
+struct in6_addr in6addr_any = {0}; /* IN6ADDR_ANY_INIT; */
+
#else
# define SOCK_ERR -1
# define SOCK_CONN_ERR -1