diff -up squid-3.0.STABLE9/configure.configure_netfilter squid-3.0.STABLE9/configure --- squid-3.0.STABLE9/configure.configure_netfilter 2008-09-09 18:06:45.000000000 +0200 +++ squid-3.0.STABLE9/configure 2008-10-19 23:29:03.000000000 +0200 @@ -24934,6 +24934,7 @@ cat >>conftest.$ac_ext <<_ACEOF #if HAVE_NETINET_IN_H #include #endif +#include #include <$ac_header> diff -up squid-3.0.STABLE9/src/IPInterception.cc.configure_netfilter squid-3.0.STABLE9/src/IPInterception.cc --- squid-3.0.STABLE9/src/IPInterception.cc.configure_netfilter 2008-09-09 18:06:43.000000000 +0200 +++ squid-3.0.STABLE9/src/IPInterception.cc 2008-10-19 23:30:43.000000000 +0200 @@ -85,7 +85,9 @@ #endif #if LINUX_NETFILTER -#include +#if HAVE_NETINET_IN_H +# include +#endif #include #endif diff -up squid-3.0.STABLE9/src/forward.cc.configure_netfilter squid-3.0.STABLE9/src/forward.cc --- squid-3.0.STABLE9/src/forward.cc.configure_netfilter 2008-09-09 18:06:44.000000000 +0200 +++ squid-3.0.STABLE9/src/forward.cc 2008-10-19 23:29:03.000000000 +0200 @@ -50,6 +50,10 @@ #include "Store.h" #if LINUX_TPROXY +#if HAVE_NETINET_IN_H +# include +#endif +#include #include #endif diff -up squid-3.0.STABLE9/configure.in.configure_netfilter squid-3.0.STABLE9/configure.in --- squid-3.0.STABLE9/configure.in.configure_netfilter 2008-09-09 18:06:45.000000000 +0200 +++ squid-3.0.STABLE9/configure.in 2008-10-19 23:29:03.000000000 +0200 @@ -1955,6 +1955,7 @@ SQUID_DEFAULT_INCLUDES #if HAVE_NETINET_IN_H #include #endif +#include ) dnl *BSD dont include the depenencies for all their net/ and netinet/ files