X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Flinux%2Fppoll.c;fp=src%2Flinux%2Fppoll.c;h=9e262477ba93de416a3498f71f6eb2e75a059eec;hp=f0268894c038681a57dc49f9f0ba946ffdb63256;hb=ccc7b4c3a17ade90de71e1e0f44deebbffd646e6;hpb=00f1521fdd3f57c7a190550426537089fc24b9da 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 +#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, __SYSCALL_SSLEN); + to ? (struct timespec []){*to} : 0, mask, _NSIG/8); }