From 835c5057b2b4bc288e917f0212d832d64809444b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Mon, 19 Apr 2021 13:54:52 +0300 Subject: [PATCH] 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. --- common/uproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/uproc.c b/common/uproc.c index 4dcbd0a..b6ae65a 100644 --- a/common/uproc.c +++ b/common/uproc.c @@ -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 {