The location of the 802.11 header files moved at approx 1.6Y, allow for

this.  Fixes build on -current.
This commit is contained in:
markd 2004-03-25 20:29:36 +00:00
parent 2c74b40381
commit 45eb3d4ef4
3 changed files with 35 additions and 1 deletions

View file

@ -1,5 +1,7 @@
$NetBSD: distinfo,v 1.7 2003/08/18 05:37:49 itojun Exp $
$NetBSD: distinfo,v 1.8 2004/03/25 20:29:36 markd Exp $
SHA1 (wistumbler-20020816.tar.gz) = fe980cdd4934dbb70411e4ce0394adef56e21999
Size (wistumbler-20020816.tar.gz) = 9327 bytes
SHA1 (patch-aa) = 662f467fbf9f51c83843f88ec4d854fb19fd2a43
SHA1 (patch-ab) = 3bb5345822142204b9d15dd7b9d3d6672ea8169e
SHA1 (patch-ac) = d8fc05d67e57d9c650e8141a42181aef55b4ed33

View file

@ -0,0 +1,16 @@
$NetBSD: patch-ab,v 1.1 2004/03/25 20:29:36 markd Exp $
--- stumbler.c.orig 2004-03-25 00:43:07.000000000 +1200
+++ stumbler.c
@@ -40,7 +40,11 @@
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 106250000)
+#include <net80211/ieee80211.h>
+#else
#include <net/if_ieee80211.h>
+#endif
#include <dev/ic/wi_ieee.h>
#include <stdio.h>
#include <string.h>

View file

@ -0,0 +1,16 @@
$NetBSD: patch-ac,v 1.1 2004/03/25 20:29:36 markd Exp $
--- wicontrol.c.orig 2004-03-25 00:42:00.000000000 +1200
+++ wicontrol.c
@@ -59,7 +59,11 @@
#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>