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

--- wicontrol.c.orig	2002-08-11 14:18:51.000000000 +0000
+++ wicontrol.c
@@ -55,11 +55,21 @@
 #include <net/ethernet.h>
 
 #include <machine/if_wavelan_ieee.h>
+#elif defined(__DragonFly__)
+#include <net/if_var.h>
+#include <net/ethernet.h>
+
+#include <netproto/802_11/ieee80211.h>
+#include <netproto/802_11/if_wavelan_ieee.h>
 #else
 #include <netinet/in.h>
 #include <netinet/if_ether.h>
 #ifdef __NetBSD__
+#if __NetBSD_Version__ >= 106250000
+#include <net80211/ieee80211.h>
+#else
 #include <net/if_ieee80211.h>
+#endif
 #include <dev/ic/wi_ieee.h>
 #else
 #include <dev/pcmcia/if_wavelan_ieee.h>