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/table.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/libnftables/table.h') diff --git a/include/libnftables/table.h b/include/libnftables/table.h index 66574cf..42a4aa7 100644 --- a/include/libnftables/table.h +++ b/include/libnftables/table.h @@ -29,6 +29,8 @@ void nft_table_attr_set_str(struct nft_table *t, uint16_t attr, const char *str) uint32_t nft_table_attr_get_u32(struct nft_table *t, uint16_t attr); const char *nft_table_attr_get_str(struct nft_table *t, uint16_t attr); +struct nlmsghdr; + void nft_table_nlmsg_build_payload(struct nlmsghdr *nlh, const struct nft_table *t); enum { -- cgit v1.2.3