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

compat/osdetect.h
src/acl/Arp.cc

index bb8b1e1d0eae05dfcae268c011999383064c60f9..847173fbece5a25078d88af011cdafb0660649f0 100644 (file)
@@ -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_
 
index 0108c9a76b04666b0352e97a5f58460e3d47b820..c3d2233bffee9aa4eb6fbac05a4d2da97b229a15 100644 (file)
@@ -437,7 +437,7 @@ aclMatchArp(SplayNode<acl_arp_data *> **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<acl_arp_data *> **Top = dataptr;