From 9a7f410f0216cf9468d037d148b5ec2561b8113f Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Thu, 24 Sep 2009 21:52:11 +1200 Subject: [PATCH] Author: Luigi Gangitano Bug 2779: Support GNU/kFreeBSD --- include/config.h | 3 +++ src/ACLARP.cc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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; -- 2.47.2