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:
Juhani Krekelä 2021-04-19 13:54:52 +03:00
parent cf2a6b01f1
commit 835c5057b2
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ ReapChild()
* checked into it. This gets us off the ground with SYSV. RSE@GMI
*/
#if defined(WNOHANG) && !defined(SYSV) && !defined(SVR4) && !defined(__QNX__) && !defined(__EMX__)
union wait st;
int st;
do
{