Source-Changes-HG archive

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

[src/trunk]: src/sys/dev use _KERNEL_OPT so this can be built as an LKM.



details:   https://anonhg.NetBSD.org/src/rev/3371655d2f06
branches:  trunk
changeset: 516384:3371655d2f06
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Oct 22 16:43:55 2001 +0000

description:
use _KERNEL_OPT so this can be built as an LKM.

diffstat:

 sys/dev/vnd.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r e1d93a140918 -r 3371655d2f06 sys/dev/vnd.c
--- a/sys/dev/vnd.c     Mon Oct 22 16:42:44 2001 +0000
+++ b/sys/dev/vnd.c     Mon Oct 22 16:43:55 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vnd.c,v 1.73 2001/09/30 12:32:09 chs Exp $     */
+/*     $NetBSD: vnd.c,v 1.74 2001/10/22 16:43:55 mrg Exp $     */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -97,7 +97,9 @@
  * NOTE 3: Doesn't interact with leases, should it?
  */
 
+#if defined(_KERNEL_OPT)
 #include "fs_nfs.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/systm.h>



Home | Main Index | Thread Index | Old Index