ebtables: fix build with glibc

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2016-08-30 12:04:01 +02:00
parent 18c7d1c626
commit 8e0cb8f582

View file

@ -40,15 +40,16 @@
#include <getopt.h> #include <getopt.h>
--- a/include/ebtables_u.h --- a/include/ebtables_u.h
+++ b/include/ebtables_u.h +++ b/include/ebtables_u.h
@@ -23,6 +23,8 @@ @@ -23,7 +23,9 @@
#ifndef EBTABLES_U_H #ifndef EBTABLES_U_H
#define EBTABLES_U_H #define EBTABLES_U_H
+#include <sys/types.h> +#include <sys/types.h>
+#include <netinet/ether.h>
#include <netinet/in.h> #include <netinet/in.h>
+#include <netinet/ether.h>
#include <linux/netfilter_bridge/ebtables.h> #include <linux/netfilter_bridge/ebtables.h>
#include <linux/netfilter/x_tables.h> #include <linux/netfilter/x_tables.h>
--- a/include/linux/if_ether.h --- a/include/linux/if_ether.h
+++ /dev/null +++ /dev/null
@@ -1,126 +0,0 @@ @@ -1,126 +0,0 @@