summaryrefslogtreecommitdiffstats
path: root/include/net/stp.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-07-21 01:57:58 +0200
committerDavid S. Miller <davem@davemloft.net>2022-07-22 13:53:22 +0200
commit949d6b405e6160ae44baea39192d67b39cb7eeac (patch)
treeae84afaae8ee6a3d1ea2543b46655493fb1eca19 /include/net/stp.h
parentMerge branch 'sfc-E100-VF-respresenters' (diff)
downloadlinux-949d6b405e6160ae44baea39192d67b39cb7eeac.tar.xz
linux-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/stp.h')
-rw-r--r--include/net/stp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/stp.h b/include/net/stp.h
index 2914e6d53490..528103fce2c0 100644
--- a/include/net/stp.h
+++ b/include/net/stp.h
@@ -2,6 +2,8 @@
#ifndef _NET_STP_H
#define _NET_STP_H
+#include <linux/if_ether.h>
+
struct stp_proto {
unsigned char group_address[ETH_ALEN];
void (*rcv)(const struct stp_proto *, struct sk_buff *,