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 even more #include for FreeBSD.



details:   https://anonhg.NetBSD.org/src/rev/958cd8029d3c
branches:  trunk
changeset: 480604:958cd8029d3c
user:      augustss <augustss%NetBSD.org@localhost>
date:      Sun Jan 16 15:12:41 2000 +0000

description:
Avoid even more #include for FreeBSD.

diffstat:

 sys/dev/usb/if_aue.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r f6139fedb66c -r 958cd8029d3c sys/dev/usb/if_aue.c
--- a/sys/dev/usb/if_aue.c      Sun Jan 16 15:10:27 2000 +0000
+++ b/sys/dev/usb/if_aue.c      Sun Jan 16 15:12:41 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_aue.c,v 1.3 2000/01/16 15:10:27 augustss Exp $      */
+/*     $NetBSD: if_aue.c,v 1.4 2000/01/16 15:12:41 augustss Exp $      */
 /*
  * Copyright (c) 1997, 1998, 1999, 2000
  *     Bill Paul <wpaul%ee.columbia.edu@localhost>.  All rights reserved.
@@ -75,10 +75,12 @@
  * investigate short rx problem
  */
 
+#if defined(__NetBSD__) || defined(__OpenBSD__)
 #include "opt_inet.h"
 #include "opt_ns.h"
 #include "bpfilter.h"
 #include "rnd.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/systm.h>



Home | Main Index | Thread Index | Old Index