From: Takahiro Kambe Date: Tue, 25 Oct 2016 08:25:30 +0000 (+1300) Subject: Bug 4620: NetBSD build error with --enable-ipf-transparent X-Git-Tag: SQUID_3_5_23~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31fdacc7175a7d928d904e0d94a3f984733e59df;p=thirdparty%2Fsquid.git Bug 4620: NetBSD build error with --enable-ipf-transparent On NetBSD sys/param.h must be included before netinet/ip_compat.h --- diff --git a/src/ip/Intercept.cc b/src/ip/Intercept.cc index e197d6a4bd..af108d8ae0 100644 --- a/src/ip/Intercept.cc +++ b/src/ip/Intercept.cc @@ -25,6 +25,9 @@ #define IPFILTER_VERSION 5000004 #endif +#if HAVE_SYS_PARAM_H +#include +#endif #if HAVE_SYS_IOCCOM_H #include #endif