declaration of ppoll() by poll.h should be guarded by _GNU_SOURCE
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
This commit is contained in:
parent
bbffd7ce7a
commit
b568f92c50
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue