Index: head/lib/libc/sys/kqueue.2 =================================================================== --- head/lib/libc/sys/kqueue.2 +++ head/lib/libc/sys/kqueue.2 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 3, 2016 +.Dd February 15, 2017 .Dt KQUEUE 2 .Os .Sh NAME @@ -34,9 +34,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.In sys/types.h .In sys/event.h -.In sys/time.h .Ft int .Fn kqueue "void" .Ft int @@ -633,15 +631,12 @@ returns 0. .Sh EXAMPLES .Bd -literal -compact -#include #include -#include #include #include #include #include #include -#include int main(int argc, char **argv) @@ -769,3 +764,9 @@ .Fa timeout value is limited to 24 hours; longer timeouts will be silently reinterpreted as 24 hours. +.Pp +Previous versions of +.In sys/event.h +fail to parse without including +.In sys/types.h +manually.