summaryrefslogtreecommitdiff
path: root/include/net/smc.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-07-21 02:57:58 +0300
committerDavid S. Miller <davem@davemloft.net>2022-07-22 14:53:22 +0300
commit949d6b405e6160ae44baea39192d67b39cb7eeac (patch)
treeae84afaae8ee6a3d1ea2543b46655493fb1eca19 /include/net/smc.h
parent735dbc69ab719f5e3c84f7c669b5b3ad05f684bb (diff)
downloadlinux-949d6b405e6160ae44baea39192d67b39cb7eeac.tar.xz
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/smc.h')
-rw-r--r--include/net/smc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/smc.h b/include/net/smc.h
index e441aa97ad61..37f829d9c6e5 100644
--- a/include/net/smc.h
+++ b/include/net/smc.h
@@ -11,6 +11,13 @@
#ifndef _SMC_H
#define _SMC_H
+#include <linux/device.h>
+#include <linux/spinlock.h>
+#include <linux/types.h>
+#include <linux/wait.h>
+
+struct sock;
+
#define SMC_MAX_PNETID_LEN 16 /* Max. length of PNET id */
struct smc_hashinfo {