summaryrefslogtreecommitdiff
path: root/net/wistumbler2/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'net/wistumbler2/patches/patch-ae')
-rw-r--r--net/wistumbler2/patches/patch-ae20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/wistumbler2/patches/patch-ae b/net/wistumbler2/patches/patch-ae
new file mode 100644
index 00000000000..5da73f001d3
--- /dev/null
+++ b/net/wistumbler2/patches/patch-ae
@@ -0,0 +1,20 @@
+$NetBSD: patch-ae,v 1.1 2006/01/08 21:22:58 joerg Exp $
+
+--- src/sniffer.c.orig 2006-01-08 21:11:22.000000000 +0000
++++ src/sniffer.c
+@@ -8,13 +8,12 @@
+ #include <unistd.h>
+ #include <stdio.h>
+ #include <sys/types.h>
+-#if __FreeBSD__
++#if defined(__FreeBSD__) || defined(__DragonFly__)
+ #include <net/ethernet.h>
+ #else
+ #include <net/route.h>
+ #include <net/if.h>
+-#if __OpenBSD__
+-#else
++#if !defined(__OpenBSD__)
+ #include <net/if_ether.h>
+ #endif
+ #endif