summaryrefslogtreecommitdiffstats
path: root/usr.sbin/wlconfig
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1997-08-06 00:45:23 +0000
committerrgrimes <rgrimes@FreeBSD.org>1997-08-06 00:45:23 +0000
commita379f75853514c754597c105ff72d5aaf9d40bc8 (patch)
tree9fb61d3b3d901b7c66b76f68ff6d12ee334d0272 /usr.sbin/wlconfig
parent46a6ff520b1c406855b58ee16000c750e65e725f (diff)
downloadFreeBSD-src-a379f75853514c754597c105ff72d5aaf9d40bc8.zip
FreeBSD-src-a379f75853514c754597c105ff72d5aaf9d40bc8.tar.gz
Add #if __FreeBSD__ >= 3 around #include <net/if_var.h> so that this
can compile under both FreeBSD 2.x and 3.x.
Diffstat (limited to 'usr.sbin/wlconfig')
-rw-r--r--usr.sbin/wlconfig/wlconfig.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/wlconfig/wlconfig.c b/usr.sbin/wlconfig/wlconfig.c
index 696c089..51153f9 100644
--- a/usr.sbin/wlconfig/wlconfig.c
+++ b/usr.sbin/wlconfig/wlconfig.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: wlconfig.c,v 1.2 1997/05/23 21:46:50 trost Exp $
+ * $Id: wlconfig.c,v 1.3 1997/08/01 03:50:23 msmith Exp $
*
*/
/*
@@ -64,7 +64,9 @@
#include <machine/if_wl_wavelan.h>
#include <net/if.h>
+#if __FreeBSD__ >= 3
#include <net/if_var.h>
+#endif
#include <netinet/in.h>
#include <netinet/if_ether.h>
extern struct ether_addr *ether_aton(char *a);
OpenPOWER on IntegriCloud