summaryrefslogtreecommitdiff
path: root/include/net/bond_options.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-07-20 16:57:58 -0700
committerDavid S. Miller <davem@davemloft.net>2022-07-22 12:53:22 +0100
commit949d6b405e6160ae44baea39192d67b39cb7eeac (patch)
treeae84afaae8ee6a3d1ea2543b46655493fb1eca19 /include/net/bond_options.h
parent735dbc69ab719f5e3c84f7c669b5b3ad05f684bb (diff)
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/bond_options.h')
-rw-r--r--include/net/bond_options.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/bond_options.h b/include/net/bond_options.h
index d2aea5cf1e41..69292ecc0325 100644
--- a/include/net/bond_options.h
+++ b/include/net/bond_options.h
@@ -7,6 +7,14 @@
#ifndef _NET_BOND_OPTIONS_H
#define _NET_BOND_OPTIONS_H
+#include <linux/bits.h>
+#include <linux/limits.h>
+#include <linux/types.h>
+#include <linux/string.h>
+
+struct netlink_ext_ack;
+struct nlattr;
+
#define BOND_OPT_MAX_NAMELEN 32
#define BOND_OPT_VALID(opt) ((opt) < BOND_OPT_LAST)
#define BOND_MODE_ALL_EX(x) (~(x))