diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2012-12-18 21:28:46 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2012-12-18 21:28:46 +0000 |
commit | c359575443c39f004128bb9c5eefe2c1d52d1eee (patch) | |
tree | 092ed87be3434dfa9c7a7542b6e6c940ed262cbc /usr.bin/w | |
parent | 1e6aff40c0fef090da9461e3b90e56811e221295 (diff) |
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.bin/w')
-rw-r--r-- | usr.bin/w/proc_compare.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/w/proc_compare.c b/usr.bin/w/proc_compare.c index a03ef9e84bb..4952157fad9 100644 --- a/usr.bin/w/proc_compare.c +++ b/usr.bin/w/proc_compare.c @@ -1,4 +1,4 @@ -/* $OpenBSD: proc_compare.c,v 1.12 2011/04/10 03:20:59 guenther Exp $ */ +/* $OpenBSD: proc_compare.c,v 1.13 2012/12/18 21:28:45 millert Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -30,8 +30,9 @@ */ #include <sys/param.h> -#include <sys/time.h> +#include <sys/proc.h> #include <sys/sysctl.h> +#include <sys/time.h> #include "extern.h" |