diff options
author | Davide Caratti <dcaratti@redhat.com> | 2016-11-15 15:08:24 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-12-04 20:49:18 +0100 |
commit | 3fefeb88d002850e591339fed291eb6a795d9f21 (patch) | |
tree | 245501a0a0a8794660aa731c7c057e78288f8966 /net/ipv4/netfilter | |
parent | f6b3ef5e380d5eba61e4e91a3c26ed7fd2b67347 (diff) |
netfilter: nf_conntrack_tuple_common.h: fix #include
To allow usage of enum ip_conntrack_dir in include/net/netns/conntrack.h,
this patch encloses #include <linux/netfilter.h> in a #ifndef __KERNEL__
directive, so that compiler errors caused by unwanted inclusion of
include/linux/netfilter.h are avoided.
In addition, #include <linux/netfilter/nf_conntrack_common.h> line has
been added to resolve correctly CTINFO2DIR macro.
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Acked-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4/netfilter')
0 files changed, 0 insertions, 0 deletions