diff options
Diffstat (limited to 'net/wpa_supplicant/patches/patch-aa')
-rw-r--r-- | net/wpa_supplicant/patches/patch-aa | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net/wpa_supplicant/patches/patch-aa b/net/wpa_supplicant/patches/patch-aa new file mode 100644 index 00000000000..36042a3854d --- /dev/null +++ b/net/wpa_supplicant/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.3 2011/09/03 10:33:12 shattered Exp $ + +--- src/l2_packet/l2_packet_freebsd.c.orig 2010-09-07 15:43:39.000000000 +0000 ++++ src/l2_packet/l2_packet_freebsd.c +@@ -14,9 +14,12 @@ + */ + + #include "includes.h" +-#if defined(__APPLE__) || defined(__GLIBC__) ++#if defined(__APPLE__) || defined(__GLIBC__) || defined(__NetBSD__) + #include <net/bpf.h> + #endif /* __APPLE__ */ ++#if defined(__NetBSD__) ++#define PCAP_DONT_INCLUDE_PCAP_BPF_H ++#endif + #include <pcap.h> + + #include <sys/ioctl.h> |