diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-08-08 13:39:36 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-08-08 13:39:36 +0400 |
commit | 34a4d873ad02e1be335d4cd57db3e60196e24137 (patch) | |
tree | c6c5642de15634275d6702fca0328ba1cad8807f /winsup/cygwin/include | |
parent | ba35b8303c87e141418f99384eedad7471f36d0a (diff) |
* include/sys/wait.h (_wait): Define when building newlib.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/sys/wait.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/include/sys/wait.h b/winsup/cygwin/include/sys/wait.h index 5dea7283a..be3e56fd2 100644 --- a/winsup/cygwin/include/sys/wait.h +++ b/winsup/cygwin/include/sys/wait.h @@ -1,6 +1,6 @@ /* sys/wait.h - Copyright 1997, 1998, 2001, 2002, 2003, 2004, 2006, 2011 Red Hat, Inc. + Copyright 1997, 1998, 2001, 2002, 2003, 2004, 2006, 2011, 2012 Red Hat, Inc. This file is part of Cygwin. @@ -44,6 +44,10 @@ pid_t waitpid (pid_t __pid, __wait_status_ptr_t __status, int __options); pid_t wait3 (__wait_status_ptr_t __status, int __options, struct rusage *__rusage); pid_t wait4 (pid_t __pid, __wait_status_ptr_t __status, int __options, struct rusage *__rusage); +#ifdef _COMPILING_NEWLIB +pid_t _wait (__wait_status_ptr_t __status); +#endif + union wait { int w_status; |