aboutsummaryrefslogtreecommitdiff
path: root/net/wistumbler2/files/patch-src-sniffer.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-28 21:13:53 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-28 21:13:53 +0000
commit263da1c74b64fc4cff07bf6261c5835356ec5681 (patch)
treec70f4543802bb929d8d96e17d93cbf2181c80254 /net/wistumbler2/files/patch-src-sniffer.c
parent3573038c041f3ebbb20b3819cefe1131896765b9 (diff)
downloadports-263da1c74b64fc4cff07bf6261c5835356ec5681.tar.gz
ports-263da1c74b64fc4cff07bf6261c5835356ec5681.zip
Notes
Diffstat (limited to 'net/wistumbler2/files/patch-src-sniffer.c')
-rw-r--r--net/wistumbler2/files/patch-src-sniffer.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/wistumbler2/files/patch-src-sniffer.c b/net/wistumbler2/files/patch-src-sniffer.c
new file mode 100644
index 000000000000..03c043bbd42c
--- /dev/null
+++ b/net/wistumbler2/files/patch-src-sniffer.c
@@ -0,0 +1,12 @@
+--- src/sniffer.c.orig Tue May 11 18:00:24 2004
++++ src/sniffer.c Tue May 11 18:03:48 2004
+@@ -1,7 +1,9 @@
+ #ifdef USE_PCAP
+
+ #include <pcap.h>
++#ifndef __FreeBSD__
+ #include <net/dlt.h>
++#endif
+ #include <stdio.h>
+ extern char *iface1;
+ #define BUFSIZE 65540