001-__ppoll_time64.patch 390 B

1234567891011
  1. --- a/include/poll.h
  2. +++ b/include/poll.h
  3. @@ -39,7 +39,7 @@ _FORTIFY_FN(poll) int poll(struct pollfd
  4. return __orig_poll(__f, __n, __s);
  5. }
  6. -#ifdef _GNU_SOURCE
  7. +#if defined(_GNU_SOURCE) && !(defined(_REDIR_TIME64) && _REDIR_TIME64)
  8. #undef ppoll
  9. _FORTIFY_FN(ppoll) int ppoll(struct pollfd *__f, nfds_t __n, const struct timespec *__s,
  10. const sigset_t *__m)