summaryrefslogtreecommitdiff
path: root/net/wistumbler/patches/patch-ab
blob: 2b8d0295b8c432eb0c450907f72abd4dfd46a962 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ab,v 1.2 2006/03/23 17:20:22 joerg Exp $

--- stumbler.c.orig	2002-08-16 14:27:13.000000000 +0000
+++ stumbler.c
@@ -40,8 +40,16 @@
 #include <net/if.h>
 #include <netinet/in.h>
 #include <netinet/if_ether.h>
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 106250000)
+#include <net80211/ieee80211.h>
+#include <dev/ic/wi_ieee.h>
+#elif defined(__DragonFly__)
+#include <netproto/802_11/ieee80211.h>
+#include <netproto/802_11/if_wavelan_ieee.h>
+#else
 #include <net/if_ieee80211.h> 
 #include <dev/ic/wi_ieee.h>
+#endif
 #include <stdio.h>
 #include <string.h> 
 #include <ctype.h>