Change `union wait` to `int` in common/uproc.c
The whole thing smells a fair bit and should probably be rewritten to use waitpid(2) instead, but for now this allows us to succesfully do a compile.
This commit is contained in:
parent
cf2a6b01f1
commit
835c5057b2
|
@ -46,7 +46,7 @@ ReapChild()
|
||||||
* checked into it. This gets us off the ground with SYSV. RSE@GMI
|
* checked into it. This gets us off the ground with SYSV. RSE@GMI
|
||||||
*/
|
*/
|
||||||
#if defined(WNOHANG) && !defined(SYSV) && !defined(SVR4) && !defined(__QNX__) && !defined(__EMX__)
|
#if defined(WNOHANG) && !defined(SYSV) && !defined(SVR4) && !defined(__QNX__) && !defined(__EMX__)
|
||||||
union wait st;
|
int st;
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue