From: Kamil Rytarowski Date: Fri, 17 Apr 2020 16:51:34 +0000 (+0200) Subject: Fix the build of fork-running-state.c on NetBSD X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2bed205e44ad853f10416e970de2534554f8cf18;p=binutils-gdb.git Fix the build of fork-running-state.c on NetBSD Include for kill(2). gdb/testsuite/ChangeLog: * gdb.base/fork-running-state.c: Include "signal.h". --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f26bb4c4d0d..44ada371679 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2020-04-17 Kamil Rytarowski + + * gdb.base/fork-running-state.c: Include "signal.h". + 2020-04-17 Tom Tromey * 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 a89c9418176..20bc3e6ae2d 100644 --- a/gdb/testsuite/gdb.base/fork-running-state.c +++ b/gdb/testsuite/gdb.base/fork-running-state.c @@ -20,6 +20,7 @@ #include #include #include +#include int save_parent;