aboutsummaryrefslogtreecommitdiff
path: root/sys/posix4
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1999-02-16 10:49:55 +0000
committerDoug Rabson <dfr@FreeBSD.org>1999-02-16 10:49:55 +0000
commitce02431ffafa566f9c73b08cd91a3f5b12ff443e (patch)
tree89ce394b74486e2406d5e017bd9e369a6dcbc81b /sys/posix4
parentd207e2138aa6df3717005151a3c333a96cf7aa4c (diff)
Notes
Diffstat (limited to 'sys/posix4')
-rw-r--r--sys/posix4/posix4_mib.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/posix4/posix4_mib.c b/sys/posix4/posix4_mib.c
index 523f76b87ca07..ba4a853ea66d4 100644
--- a/sys/posix4/posix4_mib.c
+++ b/sys/posix4/posix4_mib.c
@@ -33,6 +33,7 @@
#include <sys/param.h>
#include <sys/kernel.h>
+#include <sys/queue.h>
#include <sys/sysctl.h>
#include <posix4/posix4.h>
@@ -45,12 +46,16 @@ static int facility[CTL_P1003_1B_MAXID - 1];
#if 1
+SYSCTL_DECL(_p1003_1b);
+
#define P1B_SYSCTL(num, name) \
SYSCTL_INT(_p1003_1b, num, \
name, CTLFLAG_RD, facility + num - 1, 0, "");
#else
+SYSCTL_DECL(_kern_p1003_1b);
+
#define P1B_SYSCTL(num, name) \
SYSCTL_INT(_kern_p1003_1b, OID_AUTO, \
name, CTLFLAG_RD, facility + num - 1, 0, "");
@@ -58,7 +63,6 @@ SYSCTL_NODE(_kern, OID_AUTO, p1003_1b, CTLFLAG_RW, 0, "P1003.1B");
#endif
-
P1B_SYSCTL(CTL_P1003_1B_ASYNCHRONOUS_IO, asynchronous_io);
P1B_SYSCTL(CTL_P1003_1B_MAPPED_FILES, mapped_files);
P1B_SYSCTL(CTL_P1003_1B_MEMLOCK, memlock);