diff --git a/sys/kern/sys_generic.c b/sys/kern/sys_generic.c index 984b19ef559d..55e637bf2a59 100644 --- a/sys/kern/sys_generic.c +++ b/sys/kern/sys_generic.c @@ -55,6 +55,7 @@ #include #include #include +#include #include #ifdef KTRACE #include @@ -579,8 +580,9 @@ ioctl(p, uap) return (error); } -static int nselcoll; +static int nselcoll; /* Select collisions since boot */ int selwait; +SYSCTL_INT(_kern, OID_AUTO, nselcoll, CTLFLAG_RD, &nselcoll, 0, ""); /* * Select system call.