From 55aa123732f1900c3ada6d80a47a99748180ca5e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 29 Mar 2015 04:29:44 +0000 Subject: [PATCH] ebtables: fix musl build issues Signed-off-by: Felix Fietkau SVN-Revision: 45108 --- .../utils/ebtables/patches/100-musl_fix.patch | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 package/network/utils/ebtables/patches/100-musl_fix.patch 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 000000000000..462fea6e732a --- /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 -- 2.30.2