eliminate nested include by making MALLOC_DECLARE conditional on the
inclusion of <sys/malloc.h> Submitted by: bde
This commit is contained in:
parent
2588e5ad7a
commit
95fbaa6dad
@ -128,7 +128,9 @@ ieee80211_unref_node(struct ieee80211_node **ni)
|
||||
|
||||
struct ieee80211com;
|
||||
|
||||
#ifdef MALLOC_DECLARE
|
||||
MALLOC_DECLARE(M_80211_NODE);
|
||||
#endif
|
||||
|
||||
extern void ieee80211_node_attach(struct ifnet *);
|
||||
extern void ieee80211_node_lateattach(struct ifnet *);
|
||||
|
@ -37,7 +37,6 @@
|
||||
/*
|
||||
* Definitions for IEEE 802.11 drivers.
|
||||
*/
|
||||
#include <sys/malloc.h>
|
||||
|
||||
#include <net80211/ieee80211.h>
|
||||
#include <net80211/ieee80211_crypto.h>
|
||||
|
Loading…
Reference in New Issue
Block a user