From: Máté Eckl Date: Wed, 23 May 2018 14:26:35 +0000 (+0200) Subject: netfilter: add includes to nf_socket.h X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e5a10bb2acf246c13dc164fd37d4c77d9acaf88f;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Pablo Neira Ayuso --- 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 +#include static inline bool nf_sk_is_transparent(struct sock *sk) {