wpa_supplicant: fix FTBFS on Debian GNU/kFreeBSD

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).
This commit is contained in:
Kel Modderman 2010-03-06 10:16:47 +02:00 committed by Jouni Malinen
parent d2f46a2b13
commit 09bd6e8cca
6 changed files with 15 additions and 12 deletions

View file

@ -14,7 +14,7 @@
*/
#include "includes.h"
#ifdef __APPLE__
#if defined(__APPLE__) || defined(__GLIBC__)
#include <net/bpf.h>
#endif /* __APPLE__ */
#include <pcap.h>