From: Amos Jeffries Date: Fri, 17 Jul 2009 12:54:50 +0000 (+1200) Subject: Author: Chris Hills X-Git-Tag: SQUID_3_1_0_10~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=70984a0474243622d1d867a8e7c65ea6b4f67101;p=thirdparty%2Fsquid.git Author: Chris Hills Fix NetBSD IPv6 build error --- diff --git a/src/ip/IpAddress.h b/src/ip/IpAddress.h index 54b5fe040f..635cdad402 100644 --- a/src/ip/IpAddress.h +++ b/src/ip/IpAddress.h @@ -73,7 +73,7 @@ * UPDATE: OpenBSD 4.3 has the same. * UPDATE: MacOSX has the same. */ -#if USE_IPV6 && ( defined(_SQUID_FREEBSD_) || defined(_SQUID_OPENBSD_) || defined(_SQUID_APPLE_)) +#if USE_IPV6 && ( defined(_SQUID_FREEBSD_) || defined(_SQUID_OPENBSD_) || defined(_SQUID_APPLE_) || defined(_SQUID_NETBSD_)) //#define s6_addr8 __u6_addr.__u6_addr8 //#define s6_addr16 __u6_addr.__u6_addr16 #define s6_addr32 __u6_addr.__u6_addr32