summaryrefslogtreecommitdiffstats
path: root/procname.c
diff options
context:
space:
mode:
authormillert <millert>2012-12-18 21:28:45 +0000
committermillert <millert>2012-12-18 21:28:45 +0000
commit6a5adfc0baeb178a1b785068e118a524284498f4 (patch)
treef1b540586c526c9ad069e651762e209b3faa24f4 /procname.c
parent9714880283b36c21ff3904d59bd7fc436bf0bb85 (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 'procname.c')
-rw-r--r--procname.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/procname.c b/procname.c
index 1928b92e..1518c94b 100644
--- a/procname.c
+++ b/procname.c
@@ -17,6 +17,7 @@
*/
#include <sys/param.h>
+#include <sys/proc.h>
#include <sys/sysctl.h>
#include <sys/stat.h>