]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Luigi Gangitano <luigi@debian.org>
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 24 Sep 2009 09:52:11 +0000 (21:52 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 24 Sep 2009 09:52:11 +0000 (21:52 +1200)
Bug 2779: Support GNU/kFreeBSD

include/config.h
src/ACLARP.cc

index cfc7d76dd43f4f5a78dcaa1a2e2623c100a765d0..c950ce153a3f7e0657b69c9958b3792228f4dfb1 100644 (file)
@@ -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_
index 2b866e604996026b96a0fd1d8bcc3503ff6ea06a..9480e2f93aa8dd7ef6a55a1581a73947698bee24 100644 (file)
@@ -438,7 +438,7 @@ aclMatchArp(SplayNode<acl_arp_data *> **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;