diff options
author | Maciej Żenczykowski <maze@google.com> | 2021-04-02 22:56:07 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-04-02 22:56:07 +0000 |
commit | 9ac820c64f8b571c1a33fdbfaa178ff7defee600 (patch) | |
tree | 830ae286d17f285fb8f7ba1d54aed59654409ff0 | |
parent | c6bd25809e46febf4caa5dba18257f08eb148a62 (diff) | |
parent | f751c1415ec532439482a960d90736ca45b6411d (diff) | |
download | iptables-9ac820c64f8b571c1a33fdbfaa178ff7defee600.tar.gz |
ANDROID: fix build for missing ETH_ALEN definition am: 7608e136bd am: 3799b1e13f am: f751c1415e
Original change: https://android-review.googlesource.com/c/platform/external/iptables/+/1650937
Change-Id: I2d1d6c9df66bb0908ecd75f3ddba7712819ff6a8
-rw-r--r-- | libxtables/xtables.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libxtables/xtables.c b/libxtables/xtables.c index 9d309e33..35fa6258 100644 --- a/libxtables/xtables.c +++ b/libxtables/xtables.c @@ -45,6 +45,9 @@ #include <xtables.h> #include <limits.h> /* INT_MAX in ip_tables.h/ip6_tables.h */ +#ifdef __BIONIC__ +#include <linux/if_ether.h> /* ETH_ALEN */ +#endif #include <linux/netfilter_ipv4/ip_tables.h> #include <linux/netfilter_ipv6/ip6_tables.h> #include <libiptc/libxtc.h> |