From: Takahiro Kambe Date: Mon, 17 Oct 2016 04:10:26 +0000 (+1300) Subject: Bug 4620: NetBSD build error with --enable-ipf-transparent X-Git-Tag: SQUID_4_0_16~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e3e244d6694ddf9c11a13451976c61483fe80aa;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 4b2e8f623e..37d7c69bec 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