提交 e5a10bb2 编写于 作者: M Máté Eckl 提交者: Pablo Neira Ayuso

netfilter: add includes to nf_socket.h

These have to be included always when nf_socket.h is included.
Signed-off-by: NMáté Eckl <ecklm94@gmail.com>
Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org>
上级 5b79c2af
...@@ -2,10 +2,8 @@ ...@@ -2,10 +2,8 @@
#ifndef _NF_SOCK_H_ #ifndef _NF_SOCK_H_
#define _NF_SOCK_H_ #define _NF_SOCK_H_
struct net_device; #include <net/sock.h>
struct sk_buff; #include <net/inet_timewait_sock.h>
struct sock;
struct net;
static inline bool nf_sk_is_transparent(struct sock *sk) static inline bool nf_sk_is_transparent(struct sock *sk)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册