From ccc760f047cbac876f5044d8f5f7febf25491b7d Mon Sep 17 00:00:00 2001 From: mrg Date: Sat, 2 Mar 2002 12:28:16 +0000 Subject: [PATCH] check _KERNEL_OPT for opt_ddb.h --- sys/arch/sparc64/sparc64/sunos_machdep.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/arch/sparc64/sparc64/sunos_machdep.c b/sys/arch/sparc64/sparc64/sunos_machdep.c index 583fa43fe9a3..e174dc5b1707 100644 --- a/sys/arch/sparc64/sparc64/sunos_machdep.c +++ b/sys/arch/sparc64/sparc64/sunos_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: sunos_machdep.c,v 1.14 2001/01/29 01:37:56 mrg Exp $ */ +/* $NetBSD: sunos_machdep.c,v 1.15 2002/03/02 12:28:16 mrg Exp $ */ /* * Copyright (c) 1995 Matthew R. Green @@ -28,7 +28,9 @@ * SUCH DAMAGE. */ +#ifdef _KERNEL_OPT #include "opt_ddb.h" +#endif #include #include