diff options
Diffstat (limited to 'winsup/cygwin/include/sys/poll.h')
-rw-r--r-- | winsup/cygwin/include/sys/poll.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/include/sys/poll.h b/winsup/cygwin/include/sys/poll.h index 7fd1c6eb0..a9d228b63 100644 --- a/winsup/cygwin/include/sys/poll.h +++ b/winsup/cygwin/include/sys/poll.h @@ -1,6 +1,6 @@ /* sys/poll.h - Copyright 2000, 2001, 2006 Red Hat, Inc. + Copyright 2000, 2001, 2006, 2011 Red Hat, Inc. This file is part of Cygwin. @@ -12,6 +12,7 @@ #define _SYS_POLL_H #include <sys/cdefs.h> +#include <sys/types.h> __BEGIN_DECLS @@ -39,6 +40,9 @@ struct pollfd { typedef unsigned int nfds_t; extern int poll __P ((struct pollfd *fds, nfds_t nfds, int timeout)); +extern int ppoll __P ((struct pollfd *fds, nfds_t nfds, + const struct timespec *timeout_ts, + const sigset_t *sigmask)); __END_DECLS |