On 04/30/2014 09:42 PM, Rasmus Villemoes wrote: > One needs to #include <signal.h> to get the definition of the > type (sigset_t) of the mask argument to ppoll(). Nice find! Patch applied. Cheers, Michael > Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx> > --- > man2/poll.2 | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/man2/poll.2 b/man2/poll.2 > index f034001..4967869 100644 > --- a/man2/poll.2 > +++ b/man2/poll.2 > @@ -38,6 +38,7 @@ poll, ppoll \- wait for some event on a file descriptor > .BI "int poll(struct pollfd *" fds ", nfds_t " nfds ", int " timeout ); > .sp > .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" > +.B #include <signal.h> > .B #include <poll.h> > .sp > .BI "int ppoll(struct pollfd *" fds ", nfds_t " nfds ", " > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html