Include signal.h in nat/amd64-linux-siginfo.h
authorYao Qi <yao.qi@linaro.org>
Fri, 6 Jan 2017 14:33:01 +0000 (14:33 +0000)
committerYao Qi <yao.qi@linaro.org>
Fri, 6 Jan 2017 14:33:01 +0000 (14:33 +0000)
commit1ca8f924a46c620c7a7ddbd156c3a623a5a6d1fb
treeb641b1124e6fdab6fe75b690ce7b01bc2dd59ff2
parentbc3008c48f17aa67d39e539737a999737cd697a7
Include signal.h in nat/amd64-linux-siginfo.h

$ make check-headers CHECK_HEADERS="nat/amd64-linux-siginfo.h"
....
../../binutils-gdb/gdb/nat/amd64-linux-siginfo.h:52:39: error: 'siginfo_t' was not declared in this scope
 int amd64_linux_siginfo_fixup_common (siginfo_t *native, gdb_byte *inf,
                                       ^
gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

* nat/amd64-linux-siginfo.h: Include signal.h.
gdb/ChangeLog
gdb/nat/amd64-linux-siginfo.h