diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-08-15 17:09:16 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-08-15 17:09:16 +0200 |
commit | ffe6bcdc035fe26b30b25d9b7742b35ce13f402f (patch) | |
tree | 6459043f103133fe96f731274f86b80398f3b982 /package/iptables/patches/patch-include_libiptc_ipt_kernel_headers_h | |
parent | 4fbe278eb4908a974d16211154b0299991e41876 (diff) |
update to latest upstream version, add musl compile fixes
Diffstat (limited to 'package/iptables/patches/patch-include_libiptc_ipt_kernel_headers_h')
-rw-r--r-- | package/iptables/patches/patch-include_libiptc_ipt_kernel_headers_h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/iptables/patches/patch-include_libiptc_ipt_kernel_headers_h b/package/iptables/patches/patch-include_libiptc_ipt_kernel_headers_h new file mode 100644 index 000000000..4bf224f13 --- /dev/null +++ b/package/iptables/patches/patch-include_libiptc_ipt_kernel_headers_h @@ -0,0 +1,26 @@ +--- iptables-1.4.20.orig/include/libiptc/ipt_kernel_headers.h 2013-08-06 17:48:43.000000000 +0200 ++++ iptables-1.4.20/include/libiptc/ipt_kernel_headers.h 2013-08-15 16:58:51.960755143 +0200 +@@ -5,7 +5,6 @@ + + #include <limits.h> + +-#if defined(__GLIBC__) && __GLIBC__ == 2 + #include <netinet/ip.h> + #include <netinet/in.h> + #include <netinet/ip_icmp.h> +@@ -13,15 +12,4 @@ + #include <netinet/udp.h> + #include <net/if.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 |