Source-Changes-HG archive

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

[src/trunk]: src/sys/miscfs/genfs check for _KERNEL_OPT around opt include



details:   https://anonhg.NetBSD.org/src/rev/83474c4cad25
branches:  trunk
changeset: 572169:83474c4cad25
user:      dbj <dbj%NetBSD.org@localhost>
date:      Wed Dec 22 23:29:51 2004 +0000

description:
check for _KERNEL_OPT around opt include

diffstat:

 sys/miscfs/genfs/genfs_vnops.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r eb8d20241d19 -r 83474c4cad25 sys/miscfs/genfs/genfs_vnops.c
--- a/sys/miscfs/genfs/genfs_vnops.c    Wed Dec 22 20:41:24 2004 +0000
+++ b/sys/miscfs/genfs/genfs_vnops.c    Wed Dec 22 23:29:51 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: genfs_vnops.c,v 1.91 2004/10/04 00:28:30 enami Exp $   */
+/*     $NetBSD: genfs_vnops.c,v 1.92 2004/12/22 23:29:51 dbj Exp $     */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -31,9 +31,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfs_vnops.c,v 1.91 2004/10/04 00:28:30 enami Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfs_vnops.c,v 1.92 2004/12/22 23:29:51 dbj Exp $");
 
+#if defined(_KERNEL_OPT)
 #include "opt_nfsserver.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/systm.h>



Home | Main Index | Thread Index | Old Index