DragonFly BSD: Fix driver_bsd.c build
Both hostapd/wpa_supplicant compilation fails on DragonFly BSD. This patch solves this issue. I have tested only compilation. Not functionality. Because I don't have any device which can work on DragonFly BSD.
This commit is contained in:
parent
6d6f4bb87f
commit
9b336bcef0
1 changed files with 5 additions and 0 deletions
|
@ -30,9 +30,14 @@
|
||||||
#endif
|
#endif
|
||||||
#include <net/route.h>
|
#include <net/route.h>
|
||||||
|
|
||||||
|
#ifdef __DragonFly__
|
||||||
|
#include <netproto/802_11/ieee80211_ioctl.h>
|
||||||
|
#include <netproto/802_11/ieee80211_dragonfly.h>
|
||||||
|
#else /* __DragonFly__ */
|
||||||
#include <net80211/ieee80211.h>
|
#include <net80211/ieee80211.h>
|
||||||
#include <net80211/ieee80211_crypto.h>
|
#include <net80211/ieee80211_crypto.h>
|
||||||
#include <net80211/ieee80211_ioctl.h>
|
#include <net80211/ieee80211_ioctl.h>
|
||||||
|
#endif /* __DragonFly__ */
|
||||||
#if __FreeBSD__
|
#if __FreeBSD__
|
||||||
#include <net80211/ieee80211_freebsd.h>
|
#include <net80211/ieee80211_freebsd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue