From 86841522d58d81a31f0aed3e1539dcf2cdbfe54a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 29 Mar 2015 04:29:56 +0000 Subject: [PATCH] arptables: fix musl build issues Signed-off-by: Felix Fietkau SVN-Revision: 45109 --- .../arptables/patches/200-musl_fixes.patch | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 package/network/utils/arptables/patches/200-musl_fixes.patch diff --git a/package/network/utils/arptables/patches/200-musl_fixes.patch b/package/network/utils/arptables/patches/200-musl_fixes.patch new file mode 100644 index 0000000000..3a4ba3fb03 --- /dev/null +++ b/package/network/utils/arptables/patches/200-musl_fixes.patch @@ -0,0 +1,31 @@ +--- a/include/arptables.h ++++ b/include/arptables.h +@@ -1,6 +1,7 @@ + #ifndef _ARPTABLES_USER_H + #define _ARPTABLES_USER_H + ++#include + #include "arptables_common.h" + #include "libarptc/libarptc.h" + +--- a/arptables.c ++++ b/arptables.c +@@ -43,6 +43,7 @@ + #include + #include + #include ++#include + + #ifndef TRUE + #define TRUE 1 +--- a/include/libarptc/arpt_kernel_headers.h ++++ b/include/libarptc/arpt_kernel_headers.h +@@ -5,7 +5,7 @@ + + #include + +-#if defined(__GLIBC__) && __GLIBC__ == 2 ++#if 1 + #include + #include + #include