diff options
author | Kamil Rytarowski <n54@gmx.com> | 2020-04-17 18:51:34 +0200 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2020-04-17 23:24:18 +0200 |
commit | 2bed205e44ad853f10416e970de2534554f8cf18 (patch) | |
tree | ef63714678eae170a05967ea950eb2f8b52a71f4 | |
parent | 0743fc83c03da263953dfc393a66744a08770365 (diff) | |
download | gdb-2bed205e44ad853f10416e970de2534554f8cf18.zip gdb-2bed205e44ad853f10416e970de2534554f8cf18.tar.gz gdb-2bed205e44ad853f10416e970de2534554f8cf18.tar.bz2 |
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".
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/fork-running-state.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f26bb4c..44ada37 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. diff --git a/gdb/testsuite/gdb.base/fork-running-state.c b/gdb/testsuite/gdb.base/fork-running-state.c index a89c941..20bc3e6 100644 --- a/gdb/testsuite/gdb.base/fork-running-state.c +++ b/gdb/testsuite/gdb.base/fork-running-state.c @@ -20,6 +20,7 @@ #include <sys/types.h> #include <sys/wait.h> #include <errno.h> +#include <signal.h> int save_parent; |