diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-07-26 14:56:52 -0700 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-07-28 11:29:36 +0200 |
commit | 5f10376b6bc1e2773f56977980ab08c9e4fa91a7 (patch) | |
tree | 3ff84167fed44603554cc97595bd0fb761f14d3f /include/linux/if_hsr.h | |
parent | 4158e38967975f14c3e6fb0e04df90e32061d463 (diff) | |
download | lwn-5f10376b6bc1e2773f56977980ab08c9e4fa91a7.tar.gz lwn-5f10376b6bc1e2773f56977980ab08c9e4fa91a7.zip |
add missing includes and forward declarations to networking includes under linux/
Similarly to a recent include/net/ cleanup, this patch adds
missing includes to networking headers under include/linux.
All these problems are currently masked by the existing users
including the missing dependency before the broken header.
Link: https://lore.kernel.org/all/20220723045755.2676857-1-kuba@kernel.org/ v1
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20220726215652.158167-1-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/if_hsr.h')
-rw-r--r-- | include/linux/if_hsr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/if_hsr.h b/include/linux/if_hsr.h index 408539d5ea5f..0404f5bf4f30 100644 --- a/include/linux/if_hsr.h +++ b/include/linux/if_hsr.h @@ -2,6 +2,10 @@ #ifndef _LINUX_IF_HSR_H_ #define _LINUX_IF_HSR_H_ +#include <linux/types.h> + +struct net_device; + /* used to differentiate various protocols */ enum hsr_version { HSR_V0 = 0, |