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:
Masashi Honma 2009-10-12 09:56:57 +03:00 committed by Jouni Malinen
parent 6d6f4bb87f
commit 9b336bcef0

View file

@ -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