gdb: include gdb_wait.h in gdb_wait.c
authorSimon Marchi <simon.marchi@polymtl.ca>
Sun, 12 Jan 2020 20:11:07 +0000 (15:11 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 12 Jan 2020 20:22:27 +0000 (15:22 -0500)
commit58920b5be048726fca38e4e6ddcaa02ae6d9c1b8
tree87047b48455f570be077d31f7419a8b925498118
parentc0b0a14290e1909a6cc3febb443560c3e95562c2
gdb: include gdb_wait.h in gdb_wait.c

When building for mingw with -Wmissing-declarations, I get:

  CXX    gdbsupport/gdb_wait.o
/binutils-gdb/gdb/gdbsupport/gdb_wait.c:52:1: error: no previous declaration for 'int windows_status_to_termsig(long unsigned int)' [-Wer
ror=missing-declarations]
   52 | windows_status_to_termsig (unsigned long status)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~

Make gdb_wait.c include gdb_wait.h to fix it.

gdb/ChangeLog:

* gdbsupport/gdb_wait.c: Include gdb_wait.h.
gdb/ChangeLog
gdb/gdbsupport/gdb_wait.c