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/tmux | |
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/tmux')
-rw-r--r-- | usr.bin/tmux/procname.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/procname.c b/usr.bin/tmux/procname.c index 5900200ffba..38029789658 100644 --- a/usr.bin/tmux/procname.c +++ b/usr.bin/tmux/procname.c @@ -1,4 +1,4 @@ -/* $OpenBSD: procname.c,v 1.9 2012/09/24 13:05:10 nicm Exp $ */ +/* $OpenBSD: procname.c,v 1.10 2012/12/18 21:28:45 millert Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -17,6 +17,7 @@ */ #include <sys/param.h> +#include <sys/proc.h> #include <sys/sysctl.h> #include <sys/stat.h> |