Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 Don't include opt_*.h if compiling ...



details:   https://anonhg.NetBSD.org/src/rev/3e0c9aaf9591
branches:  trunk
changeset: 500599:3e0c9aaf9591
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Dec 14 10:24:42 2000 +0000

description:
Don't include opt_*.h if compiling as LKM.

diffstat:

 sys/arch/sparc64/sparc64/svr4_machdep.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r e87ffeea17a9 -r 3e0c9aaf9591 sys/arch/sparc64/sparc64/svr4_machdep.c
--- a/sys/arch/sparc64/sparc64/svr4_machdep.c   Thu Dec 14 09:01:30 2000 +0000
+++ b/sys/arch/sparc64/sparc64/svr4_machdep.c   Thu Dec 14 10:24:42 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_machdep.c,v 1.14 2000/12/06 01:47:50 mrg Exp $     */
+/*     $NetBSD: svr4_machdep.c,v 1.15 2000/12/14 10:24:42 martin Exp $  */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -36,7 +36,9 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef _LKM
 #include "opt_ddb.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/systm.h>



Home | Main Index | Thread Index | Old Index