From: Felix Fietkau Date: Sun, 29 Mar 2015 04:29:44 +0000 (+0000) Subject: ebtables: fix musl build issues X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=55aa123732f1900c3ada6d80a47a99748180ca5e;p=openwrt%2Fstaging%2Fmkresin.git ebtables: fix musl build issues Signed-off-by: Felix Fietkau SVN-Revision: 45108 --- diff --git a/package/network/utils/ebtables/patches/100-musl_fix.patch b/package/network/utils/ebtables/patches/100-musl_fix.patch new file mode 100644 index 0000000000..462fea6e73 --- /dev/null +++ b/package/network/utils/ebtables/patches/100-musl_fix.patch @@ -0,0 +1,50 @@ +--- a/extensions/ebt_among.c ++++ b/extensions/ebt_among.c +@@ -13,7 +13,6 @@ + #include + #include + #include "../include/ebtables_u.h" +-#include + #include "../include/ethernetdb.h" + #include + #include +--- a/extensions/ebt_arpreply.c ++++ b/extensions/ebt_arpreply.c +@@ -12,7 +12,6 @@ + #include + #include + #include "../include/ebtables_u.h" +-#include + #include + + static int mac_supplied; +--- a/extensions/ebt_nat.c ++++ b/extensions/ebt_nat.c +@@ -11,7 +11,6 @@ + #include + #include + #include "../include/ebtables_u.h" +-#include + #include + + static int to_source_supplied, to_dest_supplied; +--- a/useful_functions.c ++++ b/useful_functions.c +@@ -25,7 +25,6 @@ + #include "include/ebtables_u.h" + #include "include/ethernetdb.h" + #include +-#include + #include + #include + #include +--- a/include/ebtables_u.h ++++ b/include/ebtables_u.h +@@ -23,6 +23,7 @@ + + #ifndef EBTABLES_U_H + #define EBTABLES_U_H ++#include + #include + #include + #include