Message ID | 20220516162448.24800-1-vincent@systemli.org |
---|---|
State | Accepted |
Delegated to: | Pablo Neira |
Headers | show |
Series | xtables: fix compilation with musl | expand |
diff --git a/libxtables/xtables.c b/libxtables/xtables.c index 96fd783a..7dd7729d 100644 --- a/libxtables/xtables.c +++ b/libxtables/xtables.c @@ -45,7 +45,9 @@ #include <xtables.h> #include <limits.h> /* INT_MAX in ip_tables.h/ip6_tables.h */ +#ifdef __BIONIC__ #include <linux/if_ether.h> /* ETH_ALEN */ +#endif #include <linux/netfilter_ipv4/ip_tables.h> #include <linux/netfilter_ipv6/ip6_tables.h> #include <libiptc/libxtc.h>