X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Flinux%2Fppoll.c;h=9e262477ba93de416a3498f71f6eb2e75a059eec;hb=0636d5977aa796d78869ee310c6e69220b919eee;hp=f0268894c038681a57dc49f9f0ba946ffdb63256;hpb=a9555a995cea8aa67da571c95af61109140f2c8d;p=musl 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); }