From 8933eab9b0a32ce5f1f6901d3833578214cb998b Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Fri, 15 Aug 2008 22:57:53 +1200 Subject: [PATCH] Author: Henrik Nordstrom Shield netdb.h include. Not available on all platforms (Windows) --- src/wccp2.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wccp2.cc b/src/wccp2.cc index 3e44664076..f3118860dd 100644 --- a/src/wccp2.cc +++ b/src/wccp2.cc @@ -41,7 +41,9 @@ #include "SwapDir.h" #if USE_WCCPv2 +#if HAVE_NETDB_H #include +#endif #define WCCP_PORT 2048 #define WCCP_RESPONSE_SIZE 12448 -- 2.47.2