mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
Fix gdb.base/catch-fork-kill.c compilation
Fixes: Running .../src/gdb/testsuite/gdb.base/catch-fork-kill.exp ... gdb compile failed, .../src/gdb/testsuite/gdb.base/catch-fork-kill.c: In function 'main': .../src/gdb/testsuite/gdb.base/catch-fork-kill.c:81:4: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration] wait (NULL); ^ gdb/testsuite/ChangeLog: 2016-03-01 Pedro Alves <palves@redhat.com> * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
This commit is contained in:
parent
2955a517f3
commit
6ccb54e2a8
@ -1,3 +1,7 @@
|
||||
2016-03-01 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
|
||||
|
||||
2016-03-01 Yao Qi <yao.qi@linaro.org>
|
||||
|
||||
* gdb.arch/arm-disp-step.exp: Use standard_testfile and
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <assert.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
int fds[2] = { -1, -1 };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user