summaryrefslogtreecommitdiff
path: root/src/linux/ppoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/ppoll.c')
-rw-r--r--src/linux/ppoll.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/linux/ppoll.c b/src/linux/ppoll.c
index f0268894..9e262477 100644
--- a/src/linux/ppoll.c
+++ b/src/linux/ppoll.c
@@ -1,9 +1,10 @@
#define _GNU_SOURCE
#include <poll.h>
+#include <signal.h>
#include "syscall.h"
int ppoll(struct pollfd *fds, nfds_t n, const struct timespec *to, const sigset_t *mask)
{
return syscall_cp(SYS_ppoll, fds, n,
- to ? (struct timespec []){*to} : 0, mask, __SYSCALL_SSLEN);
+ to ? (struct timespec []){*to} : 0, mask, _NSIG/8);
}