diff mbox series

[iptables] fix build for missing ETH_ALEN definition

Message ID 20210402202628.2793741-1-zenczykowski@gmail.com (mailing list archive)
State Not Applicable
Headers show
Series [iptables] fix build for missing ETH_ALEN definition | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Maciej Żenczykowski April 2, 2021, 8:26 p.m. UTC
From: Maciej Żenczykowski <maze@google.com>

(this is needed at least with bionic)

Signed-off-by: Maciej Żenczykowski <maze@google.com>
---
 libxtables/xtables.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libxtables/xtables.c b/libxtables/xtables.c
index bc42ba82..77bc18f6 100644
--- a/libxtables/xtables.c
+++ b/libxtables/xtables.c
@@ -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>