linuxkpi: add ieee80211_node.h to headers to include before LIST_HEAD

ieee80211_node.h uses LIST_HEAD() which LinuxKPI redefines and this
can lead to problems (see comment there).  Make sure the net80211
header file is handled correctly by adding it to the list of files
to include before re-defining the macro.
Also add header files needed as dependencies.

Sponsored by:	The FreeBSD Foundation
Reviewed by:	philip, hselasky
Differential Revision:	https://reviews.freebsd.org/D29336

(cherry picked from commit de8a7cc703)
This commit is contained in:
Bjoern A. Zeeb 2021-03-18 22:23:15 +00:00
parent b3096b49f9
commit 19807ebec6

View file

@ -53,6 +53,7 @@
#include <sys/mbuf.h>
#include <net/bpf.h>
#include <net/ethernet.h>
#include <net/if.h>
#include <net/if_var.h>
#include <net/if_types.h>
@ -67,6 +68,10 @@
#include <netinet6/in6_var.h>
#include <netinet6/nd6.h>
#include <net80211/ieee80211.h>
#include <net80211/ieee80211_var.h>
#include <net80211/ieee80211_node.h>
#include <vm/vm.h>
#include <vm/vm_object.h>
#include <vm/pmap.h>