X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fpoll.h;h=472e4b8470bae3904100963200ac3dcfb7e34879;hb=a4b0a665b84c4a3117cca152fe28c204d23ece46;hp=7af737222f64386579a35b43327827ae55de8ec4;hpb=91a3bd743e91604bde83e9ce1ad3a2e2d4ff0f0f;p=musl diff --git a/include/poll.h b/include/poll.h index 7af73722..472e4b84 100644 --- a/include/poll.h +++ b/include/poll.h @@ -28,8 +28,7 @@ extern "C" { typedef unsigned long nfds_t; -struct pollfd -{ +struct pollfd { int fd; short events; short revents; @@ -45,6 +44,12 @@ int poll (struct pollfd *, nfds_t, int); int ppoll(struct pollfd *, nfds_t, const struct timespec *, const sigset_t *); #endif +#if _REDIR_TIME64 +#ifdef _GNU_SOURCE +__REDIR(ppoll, __ppoll_time64); +#endif +#endif + #ifdef __cplusplus } #endif