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 /tools/perf/scripts/python/syscall-counts.py | |
| parent | Merge tag 'ipvs-for-v4.10' of https://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
| download | linux-3fefeb88d002850e591339fed291eb6a795d9f21.tar.gz linux-3fefeb88d002850e591339fed291eb6a795d9f21.zip | |
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 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
