aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/ebtables
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-29 04:29:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-29 04:29:44 +0000
commitf19ffb31b58a35384c0b4b93baa1adc51b044e84 (patch)
tree736b854667028bcf67c8b7eb2af53d25b30c9cc3 /package/network/utils/ebtables
parent59e5016b52ef1dceee5580f8a4a6560a6a69a2f1 (diff)
downloadmaster-187ad058-f19ffb31b58a35384c0b4b93baa1adc51b044e84.tar.gz
master-187ad058-f19ffb31b58a35384c0b4b93baa1adc51b044e84.tar.bz2
master-187ad058-f19ffb31b58a35384c0b4b93baa1adc51b044e84.zip
ebtables: fix musl build issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45108 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/ebtables')
-rw-r--r--package/network/utils/ebtables/patches/100-musl_fix.patch50
1 files changed, 50 insertions, 0 deletions
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 <ctype.h>
+ #include <unistd.h>
+ #include "../include/ebtables_u.h"
+-#include <netinet/ether.h>
+ #include "../include/ethernetdb.h"
+ #include <linux/if_ether.h>
+ #include <linux/netfilter_bridge/ebt_among.h>
+--- a/extensions/ebt_arpreply.c
++++ b/extensions/ebt_arpreply.c
+@@ -12,7 +12,6 @@
+ #include <string.h>
+ #include <getopt.h>
+ #include "../include/ebtables_u.h"
+-#include <netinet/ether.h>
+ #include <linux/netfilter_bridge/ebt_arpreply.h>
+
+ static int mac_supplied;
+--- a/extensions/ebt_nat.c
++++ b/extensions/ebt_nat.c
+@@ -11,7 +11,6 @@
+ #include <string.h>
+ #include <getopt.h>
+ #include "../include/ebtables_u.h"
+-#include <netinet/ether.h>
+ #include <linux/netfilter_bridge/ebt_nat.h>
+
+ 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 <stdio.h>
+-#include <netinet/ether.h>
+ #include <string.h>
+ #include <stdlib.h>
+ #include <getopt.h>
+--- a/include/ebtables_u.h
++++ b/include/ebtables_u.h
+@@ -23,6 +23,7 @@
+
+ #ifndef EBTABLES_U_H
+ #define EBTABLES_U_H
++#include <sys/types.h>
+ #include <netinet/in.h>
+ #include <linux/netfilter_bridge/ebtables.h>
+ #include <linux/netfilter/x_tables.h>