Fix the build of fork-running-state.c on NetBSD

Include <signal.h> for kill(2).

gdb/testsuite/ChangeLog:

        * gdb.base/fork-running-state.c: Include "signal.h".
This commit is contained in:
Kamil Rytarowski 2020-04-17 18:51:34 +02:00
parent 0743fc83c0
commit 2bed205e44
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2020-04-17 Kamil Rytarowski <n54@gmx.com>
* gdb.base/fork-running-state.c: Include "signal.h".
2020-04-17 Tom Tromey <tromey@adacore.com>
* gdb.cp/maint.exp (test_help): Simplify multiple_help_body.

View File

@ -20,6 +20,7 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <errno.h>
#include <signal.h>
int save_parent;