Skip to contentSkip to conversation

fix build for missing ETH_ALEN definition

PATCH New Maciej Żenczykowski 1 participant 1 message Apr 2, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix build for missing ETH_ALEN definition

From: Maciej Żenczykowski <[email protected]>

(this is needed at least with bionic)

---
 libxtables/xtables.c | 1 +
 1 file changed, 1 insertion(+)
libxtables/xtables.c +1 -0
index bc42ba82..77bc18f6 100644
@@ -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>
Signature · 1 line
2.31.0.208.g409f899ff0-goog