squid/squid-3.0.STABLE5-configure_netfilter.patch
2008-10-19 21:41:32 +00:00

51 lines
1.8 KiB
Diff

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 <netinet/in.h>
#endif
+#include <linux/types.h>
#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 <linux/types.h>
+#if HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
#include <linux/netfilter_ipv4.h>
#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 <netinet/in.h>
+#endif
+#include <linux/types.h>
#include <linux/netfilter_ipv4/ip_tproxy.h>
#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 <netinet/in.h>
#endif
+#include <linux/types.h>
)
dnl *BSD dont include the depenencies for all their net/ and netinet/ files