diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-07-20 16:57:58 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-22 12:53:22 +0100 |
commit | 949d6b405e6160ae44baea39192d67b39cb7eeac (patch) | |
tree | ae84afaae8ee6a3d1ea2543b46655493fb1eca19 /include/net/inet_common.h | |
parent | 735dbc69ab719f5e3c84f7c669b5b3ad05f684bb (diff) | |
download | linux-stable-949d6b405e6160ae44baea39192d67b39cb7eeac.tar.gz linux-stable-949d6b405e6160ae44baea39192d67b39cb7eeac.tar.bz2 linux-stable-949d6b405e6160ae44baea39192d67b39cb7eeac.zip |
net: add missing includes and forward declarations under net/
This patch adds missing includes to headers under include/net.
All these problems are currently masked by the existing users
including the missing dependency before the broken header.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/inet_common.h')
-rw-r--r-- | include/net/inet_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/inet_common.h b/include/net/inet_common.h index cad2a611efde..cec453c18f1d 100644 --- a/include/net/inet_common.h +++ b/include/net/inet_common.h @@ -3,6 +3,10 @@ #define _INET_COMMON_H #include <linux/indirect_call_wrapper.h> +#include <linux/net.h> +#include <linux/netdev_features.h> +#include <linux/types.h> +#include <net/sock.h> extern const struct proto_ops inet_stream_ops; extern const struct proto_ops inet_dgram_ops; @@ -12,6 +16,8 @@ extern const struct proto_ops inet_dgram_ops; */ struct msghdr; +struct net; +struct page; struct sock; struct sockaddr; struct socket; |