* [PATCH iptables] fix build for missing ETH_ALEN definition
@ 2021-04-02 20:26 Maciej Żenczykowski
0 siblings, 0 replies; only message in thread
From: Maciej Żenczykowski @ 2021-04-02 20:26 UTC (permalink / raw)
To: Maciej Żenczykowski, Pablo Neira Ayuso, Florian Westphal
Cc: Linux Network Development Mailing List,
Netfilter Development Mailing List
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 --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>
--
2.31.0.208.g409f899ff0-goog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-02 20:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-02 20:26 [PATCH iptables] fix build for missing ETH_ALEN definition Maciej Żenczykowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).