]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
DragonFly BSD: Fix driver_bsd.c build
authorMasashi Honma <honma@ictec.co.jp>
Mon, 12 Oct 2009 06:56:57 +0000 (09:56 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 12 Oct 2009 06:56:57 +0000 (09:56 +0300)
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.

src/drivers/driver_bsd.c

index 036584b2e3da3d56145eeaaa100d8065200c1b0f..7842dea709fb34dc51dc6e637cda627abb1c1eaf 100644 (file)
 #endif
 #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_crypto.h>
 #include <net80211/ieee80211_ioctl.h>
+#endif /* __DragonFly__ */
 #if __FreeBSD__
 #include <net80211/ieee80211_freebsd.h>
 #endif