+#define _KERNEL

+#include <sys/types.h>
+#undef _KERNEL
This commit is contained in:
ad 2008-02-27 15:46:23 +00:00
parent 8a4e45ea0e
commit 0565241b89
2 changed files with 10 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: kvm_file.c,v 1.24 2006/02/16 20:48:42 christos Exp $ */
/* $NetBSD: kvm_file.c,v 1.25 2008/02/27 15:46:23 ad Exp $ */
/*-
* Copyright (c) 1989, 1992, 1993
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)kvm_file.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: kvm_file.c,v 1.24 2006/02/16 20:48:42 christos Exp $");
__RCSID("$NetBSD: kvm_file.c,v 1.25 2008/02/27 15:46:23 ad Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -45,6 +45,9 @@ __RCSID("$NetBSD: kvm_file.c,v 1.24 2006/02/16 20:48:42 christos Exp $");
* most other applications are interested only in open/close/read/nlist).
*/
#define _KERNEL
#include <sys/types.h>
#undef _KERNEL
#include <sys/param.h>
#include <sys/user.h>
#include <sys/lwp.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: pstat.c,v 1.108 2008/02/11 22:45:03 dyoung Exp $ */
/* $NetBSD: pstat.c,v 1.109 2008/02/27 15:46:23 ad Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993, 1994
@ -39,10 +39,13 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1991, 1993, 1994\n\
#if 0
static char sccsid[] = "@(#)pstat.c 8.16 (Berkeley) 5/9/95";
#else
__RCSID("$NetBSD: pstat.c,v 1.108 2008/02/11 22:45:03 dyoung Exp $");
__RCSID("$NetBSD: pstat.c,v 1.109 2008/02/27 15:46:23 ad Exp $");
#endif
#endif /* not lint */
#define _KERNEL
#include <sys/types.h>
#undef _KERNEL
#include <sys/param.h>
#include <sys/time.h>
#include <sys/vnode.h>