diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-08-08 09:39:36 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-08-08 09:39:36 +0000 |
commit | 34a4d873ad02e1be335d4cd57db3e60196e24137 (patch) | |
tree | c6c5642de15634275d6702fca0328ba1cad8807f | |
parent | ba35b8303c87e141418f99384eedad7471f36d0a (diff) | |
download | newlib-34a4d873ad02e1be335d4cd57db3e60196e24137.zip newlib-34a4d873ad02e1be335d4cd57db3e60196e24137.tar.gz newlib-34a4d873ad02e1be335d4cd57db3e60196e24137.tar.bz2 |
* include/sys/wait.h (_wait): Define when building newlib.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/include/sys/wait.h | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index e70e7aa..ee1a2cc 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2012-08-08 Corinna Vinschen <corinna@vinschen.de> + + * include/sys/wait.h (_wait): Define when building newlib. + 2012-08-07 Christopher Faylor <me.cygwin2012@cgf.cx> * signal.cc (sigwaitinfo): Change cw_sig to the correct cw_sig_eintr. diff --git a/winsup/cygwin/include/sys/wait.h b/winsup/cygwin/include/sys/wait.h index 5dea728..be3e56f 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; |