summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-10-13 11:54:16 +0000
committermike <mike@FreeBSD.org>2002-10-13 11:54:16 +0000
commit86f382153ee2817f548055db740e9b610147233d (patch)
tree2e3c76c90333365b6d6b837912b8ad8825d530b7
parent10962700ebadcb0c5b8dd8e4f05d071ce38497c7 (diff)
downloadFreeBSD-src-86f382153ee2817f548055db740e9b610147233d.zip
FreeBSD-src-86f382153ee2817f548055db740e9b610147233d.tar.gz
Include <sys/_posix.h> directly instead of depending on <sys/proc.h>
to include <sys/signal.h> to include <sys/_posix.h>.
-rw-r--r--sys/kern/kern_mib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c
index b739a17..7ec4aea 100644
--- a/sys/kern/kern_mib.c
+++ b/sys/kern/kern_mib.c
@@ -112,6 +112,7 @@ SYSCTL_INT(_kern, OID_AUTO, maxusers, CTLFLAG_RD,
SYSCTL_INT(_kern, KERN_ARGMAX, argmax, CTLFLAG_RD,
0, ARG_MAX, "Maximum bytes of argument to execve(2)");
+#include <sys/_posix.h>
SYSCTL_INT(_kern, KERN_POSIX1, posix1version, CTLFLAG_RD,
0, _KPOSIX_VERSION, "Version of POSIX attempting to comply to");
OpenPOWER on IntegriCloud