From: Amos Jeffries Date: Sun, 20 Sep 2009 00:29:52 +0000 (+1200) Subject: Author: Luigi Gangitano X-Git-Tag: SQUID_3_2_0_1~703 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=83cd15d9158f814388fa004d483a834d2ede3061;p=thirdparty%2Fsquid.git Author: Luigi Gangitano Bug 2779: Support GNU/kFreeBSD --- diff --git a/compat/osdetect.h b/compat/osdetect.h index bb8b1e1d0e..847173fbec 100644 --- a/compat/osdetect.h +++ b/compat/osdetect.h @@ -42,6 +42,9 @@ #elif defined(__FreeBSD__) /* FreeBSD */ #define _SQUID_FREEBSD_ +#elif defined(__FreeBSD_kernel__) /* GNU/kFreeBSD */ +#define _SQUID_KFREEBSD_ + #elif defined(__sgi__) || defined(sgi) || defined(__sgi) /* SGI */ #define _SQUID_SGI_ diff --git a/src/acl/Arp.cc b/src/acl/Arp.cc index 0108c9a76b..c3d2233bff 100644 --- a/src/acl/Arp.cc +++ b/src/acl/Arp.cc @@ -437,7 +437,7 @@ aclMatchArp(SplayNode **dataptr, IpAddress &c) return (0 == splayLastResult); } -#elif defined(_SQUID_FREEBSD_) || defined(_SQUID_NETBSD_) || defined(_SQUID_OPENBSD_) || defined(_SQUID_DRAGONFLY_) +#elif defined(_SQUID_FREEBSD_) || defined(_SQUID_NETBSD_) || defined(_SQUID_OPENBSD_) || defined(_SQUID_DRAGONFLY_) || defined(_SQUID_KFREEBSD_) SplayNode **Top = dataptr;