From 78437ef8c86075d2621d954fdf77d255df798267 Mon Sep 17 00:00:00 2001 From: pablo Date: Sun, 18 May 2008 03:31:50 +0200 Subject: add conditional defition of NLA_F_NESTED for old includes --- include/libnfnetlink/libnfnetlink.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/libnfnetlink/libnfnetlink.h b/include/libnfnetlink/libnfnetlink.h index e54edc6..fea7611 100644 --- a/include/libnfnetlink/libnfnetlink.h +++ b/include/libnfnetlink/libnfnetlink.h @@ -153,6 +153,10 @@ extern int nfnl_query(struct nfnl_handle *h, struct nlmsghdr *nlh); __ret; \ }) +#ifndef NLA_F_NESTED +#define NLA_F_NESTED (1 << 15) +#endif + /* nfnl attribute handling functions */ extern int nfnl_addattr_l(struct nlmsghdr *, int, int, const void *, int); extern int nfnl_addattr16(struct nlmsghdr *, int, int, u_int16_t); -- cgit v1.2.3