diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-01-10 00:05:38 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-01-10 01:18:47 +0100 |
commit | 57175a87d47d88996965119838650c10f123c4db (patch) | |
tree | d368ea84e405eda08eabd0500a072ec825b3224b /tests/xmlfiles/59-rule-real.xml | |
parent | 76746098d026bdba1f3678da8febbd133e869a94 (diff) |
src: fix compilation due to missing NFPROTO_INET definition
This adds a copy of the include/linux/netfilter.h kernel header
that defines NFPROTO_INET, so libnftables compiles with relatively
old kernel headers in the system.
chain.c: In function 'nft_hooknum2str':
chain.c:53:7: error: 'NFPROTO_INET' undeclared (first use in this function)
This required to reorder and remove unneeded headers in src/expr/data_reg.c
to avoid a compilation warning due to redefinition of __visible.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/xmlfiles/59-rule-real.xml')
0 files changed, 0 insertions, 0 deletions