summaryrefslogtreecommitdiff
path: root/net/gkrellm-wireless/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/gkrellm-wireless/patches/patch-ab')
-rw-r--r--net/gkrellm-wireless/patches/patch-ab25
1 files changed, 18 insertions, 7 deletions
diff --git a/net/gkrellm-wireless/patches/patch-ab b/net/gkrellm-wireless/patches/patch-ab
index 615df690522..f308a186875 100644
--- a/net/gkrellm-wireless/patches/patch-ab
+++ b/net/gkrellm-wireless/patches/patch-ab
@@ -1,17 +1,28 @@
-$NetBSD: patch-ab,v 1.1 2002/06/27 11:02:09 fredb Exp $
+$NetBSD: patch-ab,v 1.2 2004/02/24 23:35:52 cube Exp $
---- wireless.h.orig Sun Sep 9 09:25:55 2001
+--- wireless.h.orig Sat Dec 6 13:19:55 2003
+++ wireless.h
-@@ -32,7 +32,11 @@
+@@ -34,12 +34,23 @@
+ #endif
+
+ #ifdef __NetBSD__
++ #include <sys/param.h>
++ #include <sys/socket.h>
++ #include <sys/sockio.h>
+ #include <net/if.h>
+ #include <net/if_dl.h>
#include <net/if_ether.h>
#include <net/if_media.h>
++# if __NetBSD_Version__ > 106290000
++ #include <net80211/ieee80211.h>
++#else
#include <net/if_ieee80211.h>
-- #include <dev/pcmcia/if_wi_ieee.h>
++#endif
+# if __NetBSD_Version__ > 105210000
-+ #include <dev/ic/wi_ieee.h>
++ #include <dev/ic/wi_ieee.h>
+# else
-+ #include <dev/pcmcia/if_wi_ieee.h>
+ #include <dev/pcmcia/if_wi_ieee.h>
+# endif
#endif
- #define PLUGIN_CONFIG_KEYWORD "gkrellmwireless"
+ #ifdef __linux__