diff options
author | pablo <pablo@Decadence.(none)> | 2008-05-18 03:31:50 +0200 |
---|---|---|
committer | pablo <pablo@Decadence.(none)> | 2008-05-18 03:31:50 +0200 |
commit | 78437ef8c86075d2621d954fdf77d255df798267 (patch) | |
tree | f1a83b08d3cc3f45244d560bab148821303e7e90 | |
parent | 37b20035b4179e69ba162ea75b90d26e3740e229 (diff) |
add conditional defition of NLA_F_NESTED for old includes
-rw-r--r-- | include/libnfnetlink/libnfnetlink.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |