Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/sunos add missing !LKM check, noted by <tih@kpnQw...



details:   https://anonhg.NetBSD.org/src/rev/4a91db74bce5
branches:  trunk
changeset: 503248:4a91db74bce5
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Feb 03 22:20:02 2001 +0000

description:
add missing !LKM check, noted by <tih%kpnQwest.no@localhost>

diffstat:

 sys/compat/sunos/sunos_ioctl.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r e070a4a45a4b -r 4a91db74bce5 sys/compat/sunos/sunos_ioctl.c
--- a/sys/compat/sunos/sunos_ioctl.c    Sat Feb 03 20:23:59 2001 +0000
+++ b/sys/compat/sunos/sunos_ioctl.c    Sat Feb 03 22:20:02 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sunos_ioctl.c,v 1.34 2001/02/02 12:59:43 mrg Exp $     */
+/*     $NetBSD: sunos_ioctl.c,v 1.35 2001/02/03 22:20:02 mrg Exp $     */
 
 /*
  * Copyright (c) 1993 Markus Wild.
@@ -26,8 +26,10 @@
  * loosely from: Header: sunos_ioctl.c,v 1.7 93/05/28 04:40:43 torek Exp
  */
 
+#if defined(_KERNEL) && !defined(_LKM)
 #include "opt_compat_netbsd32.h"
 #include "opt_execfmt.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/proc.h>



Home | Main Index | Thread Index | Old Index