]> git.baikalelectronics.ru Git - kernel.git/commitdiff
nl80211: explicitly include if_vlan.h
authorJohannes Berg <johannes.berg@intel.com>
Mon, 24 Feb 2020 08:38:15 +0000 (09:38 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 24 Feb 2020 09:41:13 +0000 (10:41 +0100)
We use that here, and do seem to get it through some recursive
include, but better include it explicitly.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20200224093814.1b9c258fec67.I45ac150d4e11c72eb263abec9f1f0c7add9bef2b@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c

index 46be40e19e7fceeca517981270cc73bac1c59498..5b19e9fac4aac68e9ce222610fa8a75f9b1a9c29 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/netlink.h>
 #include <linux/nospec.h>
 #include <linux/etherdevice.h>
+#include <linux/if_vlan.h>
 #include <net/net_namespace.h>
 #include <net/genetlink.h>
 #include <net/cfg80211.h>