diff options
author | Maciej Żenczykowski <maze@google.com> | 2021-04-03 00:01:00 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-04-03 00:01:00 +0000 |
commit | 2b868ab35027052f5bbfecf23383e9e459223723 (patch) | |
tree | 830ae286d17f285fb8f7ba1d54aed59654409ff0 | |
parent | ec263efe3e0f468f7abb662da551c4e384f8eeab (diff) | |
parent | 9ac820c64f8b571c1a33fdbfaa178ff7defee600 (diff) | |
download | iptables-2b868ab35027052f5bbfecf23383e9e459223723.tar.gz |
ANDROID: fix build for missing ETH_ALEN definition am: 7608e136bd am: 3799b1e13f am: f751c1415e am: 9ac820c64f
Original change: https://android-review.googlesource.com/c/platform/external/iptables/+/1650937
Change-Id: I6720d0bad8a189943b447f8b9157d3945bcad76c
-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> |