From 9a87c0933c66a2a27049fd5a5b0d8b76c9b69136 Mon Sep 17 00:00:00 2001 From: jdolecek Date: Sat, 30 Nov 2002 10:52:16 +0000 Subject: [PATCH] make LKM friedlier - only include opt_* ifdef _KERNEL_OPT --- sys/arch/mips/mips/syscall.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/arch/mips/mips/syscall.c b/sys/arch/mips/mips/syscall.c index e5ad2e4ff05c..5a16026277a1 100644 --- a/sys/arch/mips/mips/syscall.c +++ b/sys/arch/mips/mips/syscall.c @@ -1,4 +1,4 @@ -/* $NetBSD: syscall.c,v 1.12 2002/11/15 20:06:02 manu Exp $ */ +/* $NetBSD: syscall.c,v 1.13 2002/11/30 10:52:16 jdolecek Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -80,11 +80,13 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.12 2002/11/15 20:06:02 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.13 2002/11/30 10:52:16 jdolecek Exp $"); +#if defined(_KERNEL_OPT) #include "opt_ktrace.h" #include "opt_systrace.h" #include "opt_syscall_debug.h" +#endif #include #include