From 12b0501f55373c54abee8ad1b5ba225ad6e280a6 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Thu, 18 Dec 2003 11:26:00 +0000 Subject: Counteract brain-death in Apache headers (they #define strtoul to something that will break compilation, and it successfully breaks the win32 IPv6 headers) --- main/php_network.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main/php_network.h') diff --git a/main/php_network.h b/main/php_network.h index 6205a1a2dc..68665b9cae 100644 --- a/main/php_network.h +++ b/main/php_network.h @@ -27,6 +27,9 @@ # endif # undef FD_SETSIZE # include "arpa/inet.h" + /* Apache folks decided that strtoul was evil and redefined + * it to something that breaks the windows headers */ +# undef strtoul /* defines socklen_t and some IPV6 stuff */ # include # if HAVE_WSPIAPI_H -- cgit v1.2.1