summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-03-27 08:38:25 +0000
committerPatrick Li <pat@FreeBSD.org>2002-03-27 08:38:25 +0000
commita30388702ade959bc4e1d8c52703a461bd9001f7 (patch)
treef2b46fb8586e274fb29e8c90fc2b27d89ed8a0ce
parentUpdate to 1.3 (diff)
Find if_wavelan_ieee.h on machines running -current.
Submitted by: bento
Diffstat (limited to '')
-rw-r--r--net/wmwave/files/patch-wmwave.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/net/wmwave/files/patch-wmwave.c b/net/wmwave/files/patch-wmwave.c
index 11221f9ed6e1..e06c0b92cbf3 100644
--- a/net/wmwave/files/patch-wmwave.c
+++ b/net/wmwave/files/patch-wmwave.c
@@ -1,5 +1,5 @@
---- wmwave.c.orig Thu Dec 27 12:10:44 2001
-+++ wmwave.c Thu Dec 27 13:09:37 2001
+--- wmwave.c.orig Fri Aug 20 09:44:21 1999
++++ wmwave.c Wed Mar 27 03:31:16 2002
@@ -1,38 +1,21 @@
/*
+ * $Id$
@@ -52,7 +52,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
-@@ -45,313 +28,387 @@
+@@ -45,313 +28,393 @@
#include <limits.h>
#include <errno.h>
#include <signal.h>
@@ -80,7 +80,13 @@
+#include <netinet/ip.h>
+#include <netinet/ip_var.h>
+#include <arpa/inet.h>
++#include <osreldate.h>
++
++#if __FreeBSD_version >= 500015
++#include <dev/wi/if_wavelan_ieee.h>
++#else
+#include <machine/if_wavelan_ieee.h>
++#endif
#include <X11/Xlib.h>
#include <X11/xpm.h>