* include/sys/wait.h (_wait): Define when building newlib.

This commit is contained in:
Corinna Vinschen 2012-08-08 09:39:36 +00:00
parent ba35b8303c
commit 34a4d873ad
2 changed files with 9 additions and 1 deletions

View File

@ -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.

View File

@ -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;