musl-fix-headers.patch (897B)
1 Patch-Source: https://bugs.gentoo.org/show_bug.cgi?id=946073#c1 2 --- a/extensions/libipt_CLUSTERIP.c 3 +++ a/extensions/libipt_CLUSTERIP.c 4 @@ -13,7 +13,7 @@ 5 #if defined(__GLIBC__) && __GLIBC__ == 2 6 #include <net/ethernet.h> 7 #else 8 -#include <linux/if_ether.h> 9 +#include <netinet/if_ether.h> 10 #endif 11 12 #include <xtables.h> 13 --- a/extensions/libipt_realm.c 14 +++ a/extensions/libipt_realm.c 15 @@ -5,7 +5,7 @@ 16 #if defined(__GLIBC__) && __GLIBC__ == 2 17 #include <net/ethernet.h> 18 #else 19 -#include <linux/if_ether.h> 20 +#include <netinet/if_ether.h> 21 #endif 22 #include <xtables.h> 23 #include <linux/netfilter_ipv4/ipt_realm.h> 24 --- a/extensions/libxt_mac.c 25 +++ a/extensions/libxt_mac.c 26 @@ -2,7 +2,7 @@ 27 #if defined(__GLIBC__) && __GLIBC__ == 2 28 #include <net/ethernet.h> 29 #else 30 -#include <linux/if_ether.h> 31 +#include <netinet/if_ether.h> 32 #endif 33 #include <xtables.h> 34 #include <linux/netfilter/xt_mac.h> 35 --