[PATCH] wpa_supplicant: fix FTBFS on Debian GNU/kFreebsd

Jouni Malinen j
Sat Mar 6 00:20:54 PST 2010

On Sun, Feb 28, 2010 at 10:29:12PM +1000, Kel Modderman wrote:

> This patch allows wpa_supplicant to compile on Debian's kfreebsd architectures.
> Patch by Stefan Lippers-Hollmann based on work done by Petr Salinger and
> Emmanuel Bouthenot for 0.6.X (http://bugs.debian.org/480572).

Thanks, applied. Though, my Debian/kFreeBSD installation did not have
bsd/string.h, so I removed this line from the:

> --- a/src/drivers/driver_bsd.c
> +++ b/src/drivers/driver_bsd.c
> @@ -35,11 +35,15 @@
> +#ifdef __GLIBC__
> +#include <netinet/ether.h>
> +#include <bsd/string.h>  <-- removed
> +#endif /* __GLIBC__ */

The end result seems to build without problems at least with the current
hostap.git, so I'd assume that it is fine to remove this include line.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list