Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2017-03-27 17:19:36 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2017-03-28 00:03:01 +0300
commitb568f92c505aaa923160eca93935995dd6b88b16 (patch)
tree5838fdba3ea3dab8707cd781185a8bff621abed3 /winsup
parentbbffd7ce7a74f8fd515c261fdfe3688855ac1eae (diff)
declaration of ppoll() by poll.h should be guarded by _GNU_SOURCE
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/include/sys/poll.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/include/sys/poll.h b/winsup/cygwin/include/sys/poll.h
index 822827825..0da4c3f03 100644
--- a/winsup/cygwin/include/sys/poll.h
+++ b/winsup/cygwin/include/sys/poll.h
@@ -39,9 +39,11 @@ struct pollfd {
typedef unsigned int nfds_t;
extern int poll __P ((struct pollfd *fds, nfds_t nfds, int timeout));
+#if __GNU_VISIBLE
extern int ppoll __P ((struct pollfd *fds, nfds_t nfds,
const struct timespec *timeout_ts,
const sigset_t *sigmask));
+#endif
__END_DECLS