Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/next68k/next68k protect opt_compat_svr4.h with 'if ...



details:   https://anonhg.NetBSD.org/src/rev/4a7e63e4ebf5
branches:  trunk
changeset: 526804:4a7e63e4ebf5
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat May 11 09:34:00 2002 +0000

description:
protect opt_compat_svr4.h with 'if defined(_KERNEL_OPT)', so that
this is usable from e.g. LKM context

diffstat:

 sys/arch/next68k/next68k/genassym.cf |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r b0b85125972c -r 4a7e63e4ebf5 sys/arch/next68k/next68k/genassym.cf
--- a/sys/arch/next68k/next68k/genassym.cf      Sat May 11 08:56:39 2002 +0000
+++ b/sys/arch/next68k/next68k/genassym.cf      Sat May 11 09:34:00 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.12 2000/11/21 13:54:16 tsutsui Exp $
+#      $NetBSD: genassym.cf,v 1.13 2002/05/11 09:34:00 jdolecek Exp $
 
 #
 # Copyright (c) 1982, 1990, 1993
@@ -35,7 +35,9 @@
 #      @(#)genassym.c  8.3 (Berkeley) 1/4/94
 #
 
+if defined(_KERNEL_OPT)
 include "opt_compat_svr4.h"
+endif
 
 include <sys/param.h>
 include <sys/buf.h>



Home | Main Index | Thread Index | Old Index