Subject: lib/915: kvm_file.c needs KERNEL -> _KERNEL
To: None <gnats-admin@NetBSD.ORG>
From: Mike Long <mike.long@analog.com>
List: netbsd-bugs
Date: 03/28/1995 00:50:05
>Number:         915
>Category:       lib
>Synopsis:       kvm_file.c needs KERNEL -> _KERNEL
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 28 00:50:04 1995
>Originator:     Mike Long
>Organization:
	ewwww
>Release:        3/27/95
>Environment:
System: NetBSD azathoth 1.0A NetBSD 1.0A (AZATHOTH) #2: Sun Mar 26 06:39:10 EST 1995 root@azathoth:/usr/src/sys/arch/i386/compile/AZATHOTH i386

>Description:
	kvm_file.c won't compile.
>How-To-Repeat:
	cd /usr/src/lib/libkvm; make clean && make
>Fix:
	Apply the following:

--- /usr/src/lib/libkvm/kvm_file.c~     Mon Nov 21 16:44:48 1994
+++ /usr/src/lib/libkvm/kvm_file.c      Tue Mar 28 03:37:20 1995
@@ -46,9 +46,9 @@
 #include <sys/user.h>
 #include <sys/proc.h>
 #include <sys/exec.h>
-#define KERNEL
+#define _KERNEL
 #include <sys/file.h>
-#undef KERNEL
+#undef _KERNEL
 #include <sys/stat.h>
 #include <sys/ioctl.h>
 #include <sys/tty.h>

>Audit-Trail:
>Unformatted: