]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Johnathan Conley <johnathan.conley@gmail.com>
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 11 Dec 2008 23:15:29 +0000 (12:15 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 11 Dec 2008 23:15:29 +0000 (12:15 +1300)
Bug 2547: ipv6 compile error in OSX

include/IPAddress.h

index 9b0525142d1e811dc47140c51bd9478b4620720d..91c167afb15d97fdf294ec10a1381dcde9fa7e37 100644 (file)
@@ -70,8 +70,9 @@
  *   kernel macros commented as being 'non-standard'.
  *   We need to use them, much nicer than the OS-provided __u*_*[]
  * UPDATE: OpenBSD 4.3 has the same.
+ * UPDATE: MacOSX has the same.
  */
-#if USE_IPV6 && ( defined(_SQUID_FREEBSD_) || defined(_SQUID_OPENBSD_) )
+#if USE_IPV6 && ( defined(_SQUID_FREEBSD_) || defined(_SQUID_OPENBSD_) || defined(_SQUID_APPLE_))
 //#define s6_addr8  __u6_addr.__u6_addr8
 //#define s6_addr16 __u6_addr.__u6_addr16
 #define s6_addr32 __u6_addr.__u6_addr32