Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Avoid some #include for FreeBSD.
details: https://anonhg.NetBSD.org/src/rev/f6139fedb66c
branches: trunk
changeset: 480603:f6139fedb66c
user: augustss <augustss%NetBSD.org@localhost>
date: Sun Jan 16 15:10:27 2000 +0000
description:
Avoid some #include for FreeBSD.
diffstat:
sys/dev/usb/if_aue.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r c65db64385b9 -r f6139fedb66c sys/dev/usb/if_aue.c
--- a/sys/dev/usb/if_aue.c Sun Jan 16 15:07:48 2000 +0000
+++ b/sys/dev/usb/if_aue.c Sun Jan 16 15:10:27 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_aue.c,v 1.2 2000/01/16 14:24:33 augustss Exp $ */
+/* $NetBSD: if_aue.c,v 1.3 2000/01/16 15:10:27 augustss Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
* Bill Paul <wpaul%ee.columbia.edu@localhost>. All rights reserved.
@@ -118,6 +118,7 @@
#include <net/bpf.h>
#endif
+#if defined(__NetBSD__) || defined(__OpenBSD__)
#ifdef INET
#include <netinet/in.h>
#include <netinet/if_inarp.h>
@@ -127,6 +128,7 @@
#include <netns/ns.h>
#include <netns/ns_if.h>
#endif
+#endif /* defined(__NetBSD__) || defined(__OpenBSD__) */
#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
Home |
Main Index |
Thread Index |
Old Index