summaryrefslogtreecommitdiffstats
path: root/iptables
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2013-10-03 14:39:22 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2013-12-30 23:50:50 +0100
commitea23cfc0e663a934b05e5c09cbed5cda3c999f6f (patch)
tree573313766c3328a44b3329c5d3f51f18f9093306 /iptables
parentd0d6b2833fa9d79aa1c8818a287c594f0eddfb6c (diff)
nft: Header inclusion missing
Fixes compilation issues. nft-shared.c: In function ‘nft_ipv46_rule_find’: nft-shared.c:725:2: warning: implicit declaration of function ‘nft_rule_print_save’ [-Wimplicit-function-declaration] nft-shared.c:725:32: error: ‘NFT_RULE_APPEND’ undeclared (first use in this function) nft-shared.c:725:32: note: each undeclared identifier is reported only once for each function it appears in Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables')
-rw-r--r--iptables/nft-shared.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/nft-shared.c b/iptables/nft-shared.c
index 5c09fe1d..c9bde90b 100644
--- a/iptables/nft-shared.c
+++ b/iptables/nft-shared.c
@@ -27,6 +27,7 @@
#include "nft-shared.h"
#include "xshared.h"
+#include "nft.h"
extern struct nft_family_ops nft_family_ops_ipv4;
extern struct nft_family_ops nft_family_ops_ipv6;