Fix the build of fork-running-state.c on NetBSD
authorKamil Rytarowski <n54@gmx.com>
Fri, 17 Apr 2020 16:51:34 +0000 (18:51 +0200)
committerKamil Rytarowski <n54@gmx.com>
Fri, 17 Apr 2020 21:24:18 +0000 (23:24 +0200)
Include <signal.h> for kill(2).

gdb/testsuite/ChangeLog:

        * gdb.base/fork-running-state.c: Include "signal.h".

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/fork-running-state.c

index f26bb4c4d0d0f37f06760d1a152fcbe93d016fe2..44ada3716793c4da9e01e279174538928782df11 100644 (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.
index a89c94181764312bc4eabe5008dc4e2e7ca380c5..20bc3e6ae2d434b02c6e350b794b11d8d9240fe1 100644 (file)
@@ -20,6 +20,7 @@
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <errno.h>
+#include <signal.h>
 
 int save_parent;
 
This page took 0.048597 seconds and 4 git commands to generate.