Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/sbus add missing #include for SUN4 options



details:   https://anonhg.NetBSD.org/src/rev/8c6c6c71da86
branches:  trunk
changeset: 521671:8c6c6c71da86
user:      darrenr <darrenr%NetBSD.org@localhost>
date:      Sun Feb 03 05:53:28 2002 +0000

description:
add missing #include for SUN4 options

diffstat:

 sys/dev/sbus/sbusvar.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r fa8f38d91e81 -r 8c6c6c71da86 sys/dev/sbus/sbusvar.h
--- a/sys/dev/sbus/sbusvar.h    Sun Feb 03 05:53:07 2002 +0000
+++ b/sys/dev/sbus/sbusvar.h    Sun Feb 03 05:53:28 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbusvar.h,v 1.12 2001/09/24 23:49:34 eeh Exp $ */
+/*     $NetBSD: sbusvar.h,v 1.13 2002/02/03 05:53:28 darrenr Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -39,6 +39,10 @@
 #ifndef _SBUS_VAR_H
 #define _SBUS_VAR_H
 
+#if defined(_KERNEL_OPT) && (defined(__sparc__) || defined(__sparc64__))
+#include "opt_sparc_arch.h"
+#endif
+
 struct sbus_softc;
 
 /*



Home | Main Index | Thread Index | Old Index