summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/patch-include_libiptc_ipt_kernel_headers_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-06 11:09:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-06 11:09:07 +0200
commitac5970e35e66605d0547bcd0f3ec7f3e177a2bb8 (patch)
tree363475b3141334c819396ce3bffefc46452734ad /package/iproute2/patches/patch-include_libiptc_ipt_kernel_headers_h
parentf073ed03ff3d9e40e142fd39632ee93dd7a4f1c7 (diff)
parent7762cd4b8597a42a8892d77bea8215a67fb5fbfc (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/iproute2/patches/patch-include_libiptc_ipt_kernel_headers_h')
-rw-r--r--package/iproute2/patches/patch-include_libiptc_ipt_kernel_headers_h25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/iproute2/patches/patch-include_libiptc_ipt_kernel_headers_h b/package/iproute2/patches/patch-include_libiptc_ipt_kernel_headers_h
new file mode 100644
index 000000000..bc836c0d1
--- /dev/null
+++ b/package/iproute2/patches/patch-include_libiptc_ipt_kernel_headers_h
@@ -0,0 +1,25 @@
+--- iproute2-3.12.0.orig/include/libiptc/ipt_kernel_headers.h 2013-11-23 02:10:33.000000000 +0100
++++ iproute2-3.12.0/include/libiptc/ipt_kernel_headers.h 2014-04-05 05:25:40.983670487 +0200
+@@ -5,22 +5,10 @@
+
+ #include <limits.h>
+
+-#if defined(__GLIBC__) && __GLIBC__ == 2
+ #include <netinet/ip.h>
+ #include <netinet/in.h>
+ #include <netinet/ip_icmp.h>
+ #include <netinet/tcp.h>
+ #include <netinet/udp.h>
+ #include <sys/types.h>
+-#else /* libc5 */
+-#include <sys/socket.h>
+-#include <linux/ip.h>
+-#include <linux/in.h>
+-#include <linux/if.h>
+-#include <linux/icmp.h>
+-#include <linux/tcp.h>
+-#include <linux/udp.h>
+-#include <linux/types.h>
+-#include <linux/in6.h>
+-#endif
+ #endif