aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/include/sys/poll.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/include/sys/poll.h')
-rw-r--r--winsup/cygwin/include/sys/poll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/include/sys/poll.h b/winsup/cygwin/include/sys/poll.h
index 65822ed..5d58b36 100644
--- a/winsup/cygwin/include/sys/poll.h
+++ b/winsup/cygwin/include/sys/poll.h
@@ -39,7 +39,7 @@ struct pollfd {
typedef unsigned int nfds_t;
extern int poll __P ((struct pollfd *fds, nfds_t nfds, int timeout));
-#if __GNU_VISIBLE
+#if __GNU_VISIBLE || __POSIX_VISIBLE >= 202405
extern int ppoll __P ((struct pollfd *fds, nfds_t nfds,
const struct timespec *timeout_ts,
const sigset_t *sigmask));