]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 4620: NetBSD build error with --enable-ipf-transparent
authorTakahiro Kambe <taca@back-street.net>
Mon, 17 Oct 2016 04:10:26 +0000 (17:10 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 17 Oct 2016 04:10:26 +0000 (17:10 +1300)
On NetBSD sys/param.h must be included before netinet/ip_compat.h

src/ip/Intercept.cc

index 4b2e8f623e1a71768f1988d6b4865706818f9aeb..37d7c69bec7a0942f30ff73321f6ac2c6767da20 100644 (file)
@@ -25,6 +25,9 @@
 #define IPFILTER_VERSION        5000004
 #endif
 
+#if HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
 #if HAVE_SYS_IOCCOM_H
 #include <sys/ioccom.h>
 #endif