]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
fix build for missing ETH_ALEN definition
authorMaciej Żenczykowski <maze@google.com>
Fri, 2 Apr 2021 20:26:28 +0000 (13:26 -0700)
committerFlorian Westphal <fw@strlen.de>
Sat, 3 Apr 2021 11:58:54 +0000 (13:58 +0200)
(this is needed at least with bionic)

Signed-off-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
libxtables/xtables.c

index fc3f622072adc93bf70e24e8025a0f6cbd65da84..e6edfb5b49464b2f50ac9a5fe91e5018a234d278 100644 (file)
@@ -45,6 +45,7 @@
 
 #include <xtables.h>
 #include <limits.h> /* INT_MAX in ip_tables.h/ip6_tables.h */
+#include <linux/if_ether.h> /* ETH_ALEN */
 #include <linux/netfilter_ipv4/ip_tables.h>
 #include <linux/netfilter_ipv6/ip6_tables.h>
 #include <libiptc/libxtc.h>