3 @@ -50,13 +50,25 @@ int inet6_rth_add (void *bp, const struc
4 # define IPV6_RTHDR_TYPE_0 0
12 +compat_ppoll (struct pollfd *restrict fds, int n,
13 + const struct timespec *restrict ts,
14 + const sigset_t *restrict sigmask)
16 + return ppoll(fds, n, ts, sigmask);
24 -int ppoll (struct pollfd *restrict fds, int n,
25 - const struct timespec *restrict ts,
26 - const sigset_t *restrict sigmask);
27 +int compat_ppoll (struct pollfd *restrict fds, int n,
28 + const struct timespec *restrict ts,
29 + const sigset_t *restrict sigmask);
32 +#define ppoll compat_ppoll
36 # include <pthread.h> // sigprocmask is not thread-safe
39 -int ppoll (struct pollfd *restrict fds, int n,
40 - const struct timespec *restrict ts,
41 - const sigset_t *restrict sigset)
42 +int compat_ppoll (struct pollfd *restrict fds, int n,
43 + const struct timespec *restrict ts,
44 + const sigset_t *restrict sigset)