You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-proxy/squid/files/squid-kernel-headers-4.2.patch

15 lines
583 B

--- a/src/ip/Intercept.cc 2015-08-01 09:08:17.000000000 +0300
+++ b/src/ip/Intercept.cc 2015-09-12 10:03:37.000000000 +0300
@@ -88,7 +88,10 @@
/* <climits> must be before including netfilter_ipv4.h */
#include <climits>
#include <linux/if.h>
-#include <linux/netfilter_ipv4.h>
+//#include <linux/netfilter_ipv4.h>
+#if !defined(SO_ORIGINAL_DST)
+#define SO_ORIGINAL_DST 80
+#endif
#if HAVE_LINUX_NETFILTER_IPV6_IP6_TABLES_H
/* 2013-07-01: Pablo the Netfilter maintainer is rejecting patches
* which will enable C++ compilers to build the Netfilter public headers.