aboutsummaryrefslogtreecommitdiffstats
path: root/src/l2_packet
diff options
context:
space:
mode:
authorKel Modderman <kel@otaku42.de>2010-03-06 08:16:47 (GMT)
committerJouni Malinen <j@w1.fi>2010-03-06 08:16:47 (GMT)
commit09bd6e8cca713adc35dac214daa8d71c254a651d (patch)
treea02ec88d4b3120456e76eff31d4ed24b46b0ba44 /src/l2_packet
parentd2f46a2b133e469d9405508b5202135164ed2b85 (diff)
downloadhostap-09bd6e8cca713adc35dac214daa8d71c254a651d.zip
hostap-09bd6e8cca713adc35dac214daa8d71c254a651d.tar.gz
hostap-09bd6e8cca713adc35dac214daa8d71c254a651d.tar.bz2
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).
Diffstat (limited to 'src/l2_packet')
-rw-r--r--src/l2_packet/l2_packet_freebsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/l2_packet/l2_packet_freebsd.c b/src/l2_packet/l2_packet_freebsd.c
index d1034aa..009e02c 100644
--- a/src/l2_packet/l2_packet_freebsd.c
+++ b/src/l2_packet/l2_packet_freebsd.c
@@ -14,7 +14,7 @@
*/
#include "includes.h"
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__GLIBC__)
#include <net/bpf.h>
#endif /* __APPLE__ */
#include <pcap.h>