From: Amos Jeffries Date: Thu, 24 Sep 2009 09:52:11 +0000 (+1200) Subject: Author: Luigi Gangitano X-Git-Tag: SQUID_3_0_STABLE20~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a7f410f0216cf9468d037d148b5ec2561b8113f;p=thirdparty%2Fsquid.git Author: Luigi Gangitano Bug 2779: Support GNU/kFreeBSD --- diff --git a/include/config.h b/include/config.h index cfc7d76dd4..c950ce153a 100644 --- a/include/config.h +++ b/include/config.h @@ -89,6 +89,9 @@ #if USE_ASYNC_IO && defined(LINUXTHREADS) #define _SQUID_LINUX_THREADS_ #endif + +#elif defined(__FreeBSD_kernel__) /* GNU/kFreeBSD */ +#define _SQUID_KFREEBSD_ #elif defined(__sgi__) || defined(sgi) || defined(__sgi) /* SGI */ #define _SQUID_SGI_ diff --git a/src/ACLARP.cc b/src/ACLARP.cc index 2b866e6049..9480e2f93a 100644 --- a/src/ACLARP.cc +++ b/src/ACLARP.cc @@ -438,7 +438,7 @@ aclMatchArp(SplayNode **dataptr, struct IN_ADDR 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_) struct arpreq arpReq;