]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Chris Hills <chaz@chaz6.com>
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 17 Jul 2009 12:54:50 +0000 (00:54 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 17 Jul 2009 12:54:50 +0000 (00:54 +1200)
Fix NetBSD IPv6 build error

src/ip/IpAddress.h

index 54b5fe040fa454614471c8f9c55a2ceab654dc8d..635cdad4020d624134cf291fa5276e2146452095 100644 (file)
@@ -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