]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
xtables-legacy: add missing config.h include
authorLucas Stach <l.stach@pengutronix.de>
Fri, 8 Mar 2019 14:37:09 +0000 (15:37 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 3 Apr 2019 18:09:44 +0000 (20:09 +0200)
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>
iptables/xtables-legacy-multi.c

index e68814dd082ef780e800a3a524ad38e65ae4476e..3b7905ff76b13f6c2a893276bd87874d7434e47a 100644 (file)
@@ -1,3 +1,4 @@
+#include <config.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>