aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-01-06 21:54:21 +0200
committerEli Zaretskii <eliz@gnu.org>2020-01-06 21:54:21 +0200
commit66182876b46d40163e81504f7fa4f206268cb83c (patch)
tree2c4b2632de124c6ab99732232223e3e5add5c219
parentcbfa85811792ca8e96ace40bef0aaaf507e54bcc (diff)
downloadgdb-66182876b46d40163e81504f7fa4f206268cb83c.zip
gdb-66182876b46d40163e81504f7fa4f206268cb83c.tar.gz
gdb-66182876b46d40163e81504f7fa4f206268cb83c.tar.bz2
Fix MinGW native compilation of gdb/gdbsupport/gdb_wait.c
gdb/ChangeLog 2020-01-06 Eli Zaretskii <eliz@gnu.org> * gdbsupport/gdb_wait.c: Include <signal.h> instead of gdb/signals.h, as we are now using native signal symbols.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdbsupport/gdb_wait.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 476712e..521d101 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2020-01-06 Eli Zaretskii <eliz@gnu.org>
+
+ * gdbsupport/gdb_wait.c: Include <signal.h> instead of
+ gdb/signals.h, as we are now using native signal symbols.
+
2020-01-06 Shahab Vahedi <shahab@synopsys.com>
* tui/tui-disasm.c (tui_disasm_window::addr_is_displayed): Avoid
diff --git a/gdb/gdbsupport/gdb_wait.c b/gdb/gdbsupport/gdb_wait.c
index 037ba64..6facc48 100644
--- a/gdb/gdbsupport/gdb_wait.c
+++ b/gdb/gdbsupport/gdb_wait.c
@@ -34,7 +34,7 @@
false positives is justified by the utility of reporting the
terminating signal in the "normal" cases. */
-# include "gdb/signals.h" /* for enum gdb_signal */
+# include <signal.h>
# define WIN32_LEAN_AND_MEAN
# include <windows.h> /* for EXCEPTION_* constants */