#include "asm/unistd_64.h" // for __NR_waitid #include // for siginfo_t #include // for id_t #include // for idtype_t, waitid #include // for __syscall_4, syscall int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options) { return syscall(waitid, idtype, id, infop, options); }