From fa22d7b058016ed748b78c7b9b65ce593f1d2e8c Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 11 Oct 2014 12:23:10 +0200 Subject: src: fix compilation without xml/json support Fixes: c04175e ("src: internal set id allocation from nft_ruleset_parse*()") Signed-off-by: Pablo Neira Ayuso --- src/internal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/internal.h b/src/internal.h index d2f944e..db9af11 100644 --- a/src/internal.h +++ b/src/internal.h @@ -92,6 +92,8 @@ int nft_mxml_set_parse(mxml_node_t *tree, struct nft_set *s, struct nft_parse_err *err); #endif +struct nft_set_list; +struct nft_rule_expr; int nft_set_lookup_id(struct nft_rule_expr *e, struct nft_set_list *set_list, uint32_t *set_id); -- cgit v1.2.3