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:
Franck LeCodeur 2021-08-27 23:17:44 +02:00 committed by Jérôme Duval
parent 88d0e51d38
commit cc988c8c90

View File

@ -56,6 +56,7 @@
# ifdef unix # ifdef unix
# include <unistd.h> # include <unistd.h>
# include <sys/wait.h>
# ifdef USE_POSIX_SPAWN # ifdef USE_POSIX_SPAWN
extern char **environ; extern char **environ;