diff options
author | Maciej Żenczykowski <maze@google.com> | 2021-04-02 13:26:28 -0700 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2021-04-03 13:58:54 +0200 |
commit | c5d9a723b5159a28f547b577711787295a14fd84 (patch) | |
tree | 04e7be3846f035cab6c553f5bf3b130a09e8995d /libxtables | |
parent | 18d7535d8bce1a13668e9982f53cbd3e56e8c634 (diff) |
fix build for missing ETH_ALEN definition
(this is needed at least with bionic)
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'libxtables')
-rw-r--r-- | libxtables/xtables.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libxtables/xtables.c b/libxtables/xtables.c index fc3f6220..e6edfb5b 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> |