X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsys%2Fwait.h;h=8bcac8a3b2b072536bcc606ef3c54aa4f2bdb3b8;hb=3b5e69052a867e9d99cf4c655d775bd06e3437f1;hp=e73594aed59d482bddb860a6ba47e62bc99e7eaf;hpb=4b5f054098e484baa6d457aebe8bdab0eeb90215;p=musl diff --git a/include/sys/wait.h b/include/sys/wait.h index e73594ae..8bcac8a3 100644 --- a/include/sys/wait.h +++ b/include/sys/wait.h @@ -4,6 +4,8 @@ extern "C" { #endif +#include + #include #define __NEED_pid_t @@ -17,7 +19,7 @@ pid_t wait (int *); int waitid (idtype_t, id_t, siginfo_t *, int); pid_t waitpid (pid_t, int *, int ); -#ifdef _GNU_SOURCE +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #include pid_t wait3 (int *, int, struct rusage *); pid_t wait4 (pid_t, int *, int, struct rusage *);