[source] ebtables: fix build with glibc

LEDE Commits lede-commits at lists.infradead.org
Tue Aug 30 03:13:54 PDT 2016


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/8e0cb8f58233a1c1953f92f66a2f2b01567f7b16

commit 8e0cb8f58233a1c1953f92f66a2f2b01567f7b16
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Tue Aug 30 12:04:01 2016 +0200

    ebtables: fix build with glibc
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/network/utils/ebtables/patches/100-musl_fix.patch | 5 +++--
 1 file 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 84aeb39..0ac1fbf 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 @@



More information about the lede-commits mailing list