ebtables: fix build with glibc
authorFelix Fietkau <nbd@nbd.name>
Tue, 30 Aug 2016 10:04:01 +0000 (12:04 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 30 Aug 2016 10:12:34 +0000 (12:12 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/utils/ebtables/patches/100-musl_fix.patch

index 84aeb3932176910b01e096c2858fa5af6630e87e..0ac1fbfecfb04de057bab517ac8131b486f574d2 100644 (file)
  #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 @@