diff options
Diffstat (limited to 'sysdeps/generic/not-cancel.h')
-rw-r--r-- | sysdeps/generic/not-cancel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/generic/not-cancel.h b/sysdeps/generic/not-cancel.h index acceb9b67f..b5a42c70d6 100644 --- a/sysdeps/generic/not-cancel.h +++ b/sysdeps/generic/not-cancel.h @@ -20,6 +20,7 @@ # define NOT_CANCEL_H #include <fcntl.h> +#include <poll.h> #include <unistd.h> #include <sys/wait.h> #include <time.h> @@ -50,5 +51,7 @@ __fcntl64 (fd, cmd, __VA_ARGS__) #define __getrandom_nocancel(buf, size, flags) \ __getrandom (buf, size, flags) +#define __poll_infinity_nocancel(fds, nfds) \ + __poll (fds, nfds, -1) #endif /* NOT_CANCEL_H */ |