diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2019-03-08 15:37:09 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-04-03 20:09:44 +0200 |
commit | a39638b6aca569a280925e3ecf8891b5a851f196 (patch) | |
tree | 92bf855e541d566cb12fa17005701a77a5ca8b3a /iptables | |
parent | 3390007a11cbc45de1522f99ae751a3c5d55dd6f (diff) |
xtables-legacy: add missing config.h include
This fixes a IPv4 only build, where this file would have references to
functions that aren't built in this case. I'm not sure how it ends up
with ENABLE_IPV6 defined without the config.h include, but since this
was clearly missing and fixed my issue, I didn't bother tracking down
the chain.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables')
-rw-r--r-- | iptables/xtables-legacy-multi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/xtables-legacy-multi.c b/iptables/xtables-legacy-multi.c index e68814dd..3b7905ff 100644 --- a/iptables/xtables-legacy-multi.c +++ b/iptables/xtables-legacy-multi.c @@ -1,3 +1,4 @@ +#include <config.h> #include <stdio.h> #include <stdlib.h> #include <string.h> |