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.sbin/snmpd/mib.c | |
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.sbin/snmpd/mib.c')
-rw-r--r-- | usr.sbin/snmpd/mib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/snmpd/mib.c b/usr.sbin/snmpd/mib.c index b790fe4d8ae..bdb3f4ab667 100644 --- a/usr.sbin/snmpd/mib.c +++ b/usr.sbin/snmpd/mib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mib.c,v 1.62 2012/11/29 13:16:30 mikeb Exp $ */ +/* $OpenBSD: mib.c,v 1.63 2012/12/18 21:28:45 millert Exp $ */ /* * Copyright (c) 2012 Joel Knight <joel@openbsd.org> @@ -19,6 +19,7 @@ #include <sys/queue.h> #include <sys/param.h> +#include <sys/proc.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/socket.h> |