From: Masashi Honma Date: Mon, 12 Oct 2009 06:56:57 +0000 (+0300) Subject: DragonFly BSD: Fix driver_bsd.c build X-Git-Tag: hostap_0_7_0~133 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9b336bcef00130bca2314fff60f794b66279cb8f;p=thirdparty%2Fhostap.git 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. --- diff --git a/src/drivers/driver_bsd.c b/src/drivers/driver_bsd.c index 036584b2e..7842dea70 100644 --- a/src/drivers/driver_bsd.c +++ b/src/drivers/driver_bsd.c @@ -30,9 +30,14 @@ #endif #include +#ifdef __DragonFly__ +#include +#include +#else /* __DragonFly__ */ #include #include #include +#endif /* __DragonFly__ */ #if __FreeBSD__ #include #endif