From cc988c8c900fc656b52493957b72358ce9fc04e3 Mon Sep 17 00:00:00 2001 From: Franck LeCodeur Date: Fri, 27 Aug 2021 23:17:44 +0200 Subject: [PATCH] jam: Fix build warning. Add missing include for Linux. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Warning was: Cc bin.linuxx86/execunix.o execunix.c: In function ‘execwait’: execunix.c:301:19: warning: implicit declaration of function ‘wait’ [-Wimplicit-function-declaration] 301 | while( ( w = wait( &status ) ) == -1 && errno == EINTR ) | Change-Id: I7c0e53db8d18e9e6cb317980cb9be9026b7fce20 Reviewed-on: https://review.haiku-os.org/c/buildtools/+/4400 Reviewed-by: Jérôme Duval --- jam/execunix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/jam/execunix.c b/jam/execunix.c index 11f73ca1db..e19293ba27 100644 --- a/jam/execunix.c +++ b/jam/execunix.c @@ -56,6 +56,7 @@ # ifdef unix # include +# include # ifdef USE_POSIX_SPAWN extern char **environ;