diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-04-14 11:06:44 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-04-14 11:06:44 +0000 |
commit | 6687b7d6f5cc6ea9b0190531e32e43f21c3a2f87 (patch) | |
tree | ffcbfd6293f1369d7b286485f5a424867bd77194 /lib | |
parent | d0756aebf793abad34b9937dc2c3cbb35cd6dfc2 (diff) |
hide struct process from userland, allow kvm_proc to see it.
okay miod@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libkvm/kvm_proc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c index 604e91f163e..9024bbe0542 100644 --- a/lib/libkvm/kvm_proc.c +++ b/lib/libkvm/kvm_proc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm_proc.c,v 1.32 2007/04/12 22:14:15 tedu Exp $ */ +/* $OpenBSD: kvm_proc.c,v 1.33 2007/04/14 11:06:43 espie Exp $ */ /* $NetBSD: kvm_proc.c,v 1.30 1999/03/24 05:50:50 mrg Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -73,7 +73,7 @@ #if 0 static char sccsid[] = "@(#)kvm_proc.c 8.3 (Berkeley) 9/23/93"; #else -static char *rcsid = "$OpenBSD: kvm_proc.c,v 1.32 2007/04/12 22:14:15 tedu Exp $"; +static char *rcsid = "$OpenBSD: kvm_proc.c,v 1.33 2007/04/14 11:06:43 espie Exp $"; #endif #endif /* LIBC_SCCS and not lint */ @@ -84,6 +84,7 @@ static char *rcsid = "$OpenBSD: kvm_proc.c,v 1.32 2007/04/12 22:14:15 tedu Exp $ * most other applications are interested only in open/close/read/nlist). */ +#define __need_process #include <sys/param.h> #include <sys/user.h> #include <sys/proc.h> |