From 2bed205e44ad853f10416e970de2534554f8cf18 Mon Sep 17 00:00:00 2001 From: Kamil Rytarowski Date: Fri, 17 Apr 2020 18:51:34 +0200 Subject: [PATCH] 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". --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/fork-running-state.c | 1 + 2 files changed, 5 insertions(+) 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; -- 2.30.2