mirror of
https://review.haiku-os.org/buildtools
synced 2026-02-04 07:53:14 +01:00
jam: Fix build warning. Add missing include for Linux.
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 <jerome.duval@gmail.com>
This commit is contained in:
committed by
Jérôme Duval
parent
88d0e51d38
commit
cc988c8c90
@@ -56,6 +56,7 @@
|
||||
|
||||
# ifdef unix
|
||||
# include <unistd.h>
|
||||
# include <sys/wait.h>
|
||||
|
||||
# ifdef USE_POSIX_SPAWN
|
||||
extern char **environ;
|
||||
|
||||
Reference in New Issue
Block a user