From 7605567fa053e9c3fcd4423ed1451af7cc87d916 Mon Sep 17 00:00:00 2001 From: tsutsui Date: Sat, 25 Oct 2008 10:41:05 +0000 Subject: [PATCH] Wrap #include "opt_sa.h" with #if defined(_KERNEL_OPT)/#endif since this file is also used for compat_irix. --- 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 5a6dd5f90d30..d0892aacf87a 100644 --- a/sys/arch/mips/mips/syscall.c +++ b/sys/arch/mips/mips/syscall.c @@ -1,4 +1,4 @@ -/* $NetBSD: syscall.c,v 1.36 2008/10/21 12:16:59 ad Exp $ */ +/* $NetBSD: syscall.c,v 1.37 2008/10/25 10:41:05 tsutsui Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -107,9 +107,11 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.36 2008/10/21 12:16:59 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.37 2008/10/25 10:41:05 tsutsui Exp $"); +#if defined(_KERNEL_OPT) #include "opt_sa.h" +#endif #include #include