diff options
author | Máté Eckl <ecklm94@gmail.com> | 2018-05-23 16:26:35 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-05-29 00:23:58 +0200 |
commit | e5a10bb2acf246c13dc164fd37d4c77d9acaf88f (patch) | |
tree | f6882e6d48da31da4c8832b66742b03d736864a1 /include/net | |
parent | 5b79c2af667c0e2684f2a6dbf6439074b78f490c (diff) | |
download | linux-e5a10bb2acf246c13dc164fd37d4c77d9acaf88f.tar.bz2 |
netfilter: add includes to nf_socket.h
These have to be included always when nf_socket.h is included.
Signed-off-by: Máté Eckl <ecklm94@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netfilter/nf_socket.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/net/netfilter/nf_socket.h b/include/net/netfilter/nf_socket.h index 8230fefff9f5..29b6313f0557 100644 --- a/include/net/netfilter/nf_socket.h +++ b/include/net/netfilter/nf_socket.h @@ -2,10 +2,8 @@ #ifndef _NF_SOCK_H_ #define _NF_SOCK_H_ -struct net_device; -struct sk_buff; -struct sock; -struct net; +#include <net/sock.h> +#include <net/inet_timewait_sock.h> static inline bool nf_sk_is_transparent(struct sock *sk) { |