From d8aec16c2b73a3f7b5183ccbe25d0522bf2f4f3c Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 27 Oct 2013 21:50:35 +0100 Subject: include: fix missing struct nlmsghdr without definition The definition of this structure belongs to the scope of linux/netlink.h. Based on patch from Jan Engelhardt. Signed-off-by: Pablo Neira Ayuso --- include/libnftables/rule.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/libnftables/rule.h') diff --git a/include/libnftables/rule.h b/include/libnftables/rule.h index 09d4637..a501d2d 100644 --- a/include/libnftables/rule.h +++ b/include/libnftables/rule.h @@ -39,6 +39,8 @@ uint64_t nft_rule_attr_get_u64(const struct nft_rule *r, uint16_t attr); void nft_rule_add_expr(struct nft_rule *r, struct nft_rule_expr *expr); +struct nlmsghdr; + void nft_rule_nlmsg_build_payload(struct nlmsghdr *nlh, struct nft_rule *t); enum { -- cgit v1.2.3