X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Flinux%2Fppoll.c;h=9e262477ba93de416a3498f71f6eb2e75a059eec;hp=d49e836e4e84fcb3a2220fc62245e1a310c52c67;hb=HEAD;hpb=3b5e69052a867e9d99cf4c655d775bd06e3437f1 diff --git a/src/linux/ppoll.c b/src/linux/ppoll.c index d49e836e..9e262477 100644 --- a/src/linux/ppoll.c +++ b/src/linux/ppoll.c @@ -1,9 +1,10 @@ #define _GNU_SOURCE #include +#include #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); + to ? (struct timespec []){*to} : 0, mask, _NSIG/8); }