[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210402202628.2793741-1-zenczykowski@gmail.com>
Date: Fri, 2 Apr 2021 13:26:28 -0700
From: Maciej Żenczykowski <zenczykowski@...il.com>
To: Maciej Żenczykowski <maze@...gle.com>,
Pablo Neira Ayuso <pablo@...filter.org>,
Florian Westphal <fw@...len.de>
Cc: Linux Network Development Mailing List <netdev@...r.kernel.org>,
Netfilter Development Mailing List
<netfilter-devel@...r.kernel.org>
Subject: [PATCH iptables] fix build for missing ETH_ALEN definition
From: Maciej Żenczykowski <maze@...gle.com>
(this is needed at least with bionic)
Signed-off-by: Maciej Żenczykowski <maze@...gle.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
Powered by blists - more mailing lists