diff options
author | Wez Furlong <wez@php.net> | 2003-12-06 10:32:35 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2003-12-06 10:32:35 +0000 |
commit | 6b679cd6ef38d10d645e26eca9723ed724c930d7 (patch) | |
tree | 98d65bc6b32b7af9c3f7fe8c7f17903beccb1aa7 /main/php_network.h | |
parent | 54dd8d2bbfca3809e50ff4cef7be0f049ccb876d (diff) | |
download | php-git-6b679cd6ef38d10d645e26eca9723ed724c930d7.tar.gz |
fix ipv6 stuff under vc6
Diffstat (limited to 'main/php_network.h')
-rw-r--r-- | main/php_network.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/main/php_network.h b/main/php_network.h index a694198df9..6205a1a2dc 100644 --- a/main/php_network.h +++ b/main/php_network.h @@ -27,11 +27,11 @@ # endif # undef FD_SETSIZE # include "arpa/inet.h" -# if HAVE_WS2TCPIP_H - /* IPv6 stuff, also defines socklen_t */ -# include <ws2tcpip.h> -# else -typedef unsigned int socklen_t; +/* defines socklen_t and some IPV6 stuff */ +# include <ws2tcpip.h> +# if HAVE_WSPIAPI_H + /* getaddrinfo */ +# include <wspiapi.h> # endif #else # undef closesocket |