diff options
author | millert <millert@openbsd.org> | 2012-12-18 21:28:45 +0000 |
---|---|---|
committer | millert <millert@openbsd.org> | 2012-12-18 21:28:45 +0000 |
commit | 991f79952ebcb2ab56e759e3ffd1f50501cbe82e (patch) | |
tree | 1259e195a94d3473e1bf4953f4f9111aaa7dbead /usr.sbin/pstat | |
parent | reorder some variables and move large buffers to the top of the stack. (diff) | |
download | wireguard-openbsd-991f79952ebcb2ab56e759e3ffd1f50501cbe82e.tar.xz wireguard-openbsd-991f79952ebcb2ab56e759e3ffd1f50501cbe82e.zip |
We no longer use struct eproc for kinfo_proc in sysctl.h so there
is no direct need for sys/proc.h or sys/resource.h. Some consumers
of kinfo_proc need these for the proc flags and rlimit defines like
RLIM_INF so add the appropriate includes to them.
OK deraadt@ sthen@
Diffstat (limited to 'usr.sbin/pstat')
-rw-r--r-- | usr.sbin/pstat/pstat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index fadaa6f0156..a55c32670d0 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pstat.c,v 1.81 2012/07/11 07:50:39 guenther Exp $ */ +/* $OpenBSD: pstat.c,v 1.82 2012/12/18 21:28:45 millert Exp $ */ /* $NetBSD: pstat.c,v 1.27 1996/10/23 22:50:06 cgd Exp $ */ /*- @@ -31,6 +31,7 @@ */ #include <sys/param.h> +#include <sys/proc.h> #include <sys/time.h> #include <sys/buf.h> #include <sys/vnode.h> |