From 598b631b18ea655ab2444e7451b286ebd66dc95f Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 3 Sep 2019 12:45:55 +0200 Subject: [PATCH] Cygwin: sys/wait.h: Add _wait prototype to avoid compiler warning Signed-off-by: Corinna Vinschen --- winsup/cygwin/include/sys/wait.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/winsup/cygwin/include/sys/wait.h b/winsup/cygwin/include/sys/wait.h index 97e5d9998..1ed1f5a2e 100644 --- a/winsup/cygwin/include/sys/wait.h +++ b/winsup/cygwin/include/sys/wait.h @@ -22,6 +22,10 @@ pid_t waitpid (pid_t __pid, int *__status, int __options); pid_t wait3 (int *__status, int __options, struct rusage *__rusage); pid_t wait4 (pid_t __pid, int *__status, int __options, struct rusage *__rusage); +#ifdef _COMPILING_NEWLIB +pid_t _wait (int *); +#endif + #ifdef __cplusplus } #endif