2d6e78f0e4
PR#44321 by Sascha Wildner. Still broken for 2.8.2, because `struct wi_req' is disabled in the include file, but it was changed in DragonFly master.
26 lines
660 B
Text
26 lines
660 B
Text
$NetBSD: patch-ac,v 1.3 2011/01/03 07:38:59 obache 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 <dev/netif/wi/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>
|