]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 15 Aug 2008 10:57:53 +0000 (22:57 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 15 Aug 2008 10:57:53 +0000 (22:57 +1200)
Shield netdb.h include. Not available on all platforms (Windows)

src/wccp2.cc

index 3e4466407666e594f9bbf2ce50fcb7f6bce04537..f3118860dd8499804cddf6a50ae8b29b24db4cb2 100644 (file)
@@ -41,7 +41,9 @@
 #include "SwapDir.h"
 
 #if USE_WCCPv2
+#if HAVE_NETDB_H
 #include <netdb.h>
+#endif
 
 #define WCCP_PORT 2048
 #define WCCP_RESPONSE_SIZE 12448