Fix gdb.base/catch-fork-kill.c compilation
authorPedro Alves <palves@redhat.com>
Tue, 1 Mar 2016 17:11:57 +0000 (17:11 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 1 Mar 2016 17:11:57 +0000 (17:11 +0000)
commit6ccb54e2a82ca934f6d430b87ab015b7bfecc413
treeaffa75d259fbba5d7ba2f6ca767aef9acbb1fa9a
parent2955a517f3191a2972c3805899be8aab2b41e583
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>.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/catch-fork-kill.c