aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-08-30 12:04:01 +0200
committerFelix Fietkau <nbd@nbd.name>2016-08-30 12:12:34 +0200
commit8e0cb8f58233a1c1953f92f66a2f2b01567f7b16 (patch)
treead185649a9f120f21715dc8e6b8eb0a0e389971b
parent18c7d1c62672f33a206c9abd98c73c0d1d4af564 (diff)
downloadupstream-8e0cb8f58233a1c1953f92f66a2f2b01567f7b16.tar.gz
upstream-8e0cb8f58233a1c1953f92f66a2f2b01567f7b16.tar.bz2
upstream-8e0cb8f58233a1c1953f92f66a2f2b01567f7b16.zip
ebtables: fix build with glibc
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--package/network/utils/ebtables/patches/100-musl_fix.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/network/utils/ebtables/patches/100-musl_fix.patch b/package/network/utils/ebtables/patches/100-musl_fix.patch
index 84aeb39321..0ac1fbfecf 100644
--- a/package/network/utils/ebtables/patches/100-musl_fix.patch
+++ b/package/network/utils/ebtables/patches/100-musl_fix.patch
@@ -40,15 +40,16 @@
#include <getopt.h>
--- a/include/ebtables_u.h
+++ b/include/ebtables_u.h
-@@ -23,6 +23,8 @@
+@@ -23,7 +23,9 @@
#ifndef EBTABLES_U_H
#define EBTABLES_U_H
+#include <sys/types.h>
-+#include <netinet/ether.h>
#include <netinet/in.h>
++#include <netinet/ether.h>
#include <linux/netfilter_bridge/ebtables.h>
#include <linux/netfilter/x_tables.h>
+
--- a/include/linux/if_ether.h
+++ /dev/null
@@ -1,126 +0,0 @@