IPA: Fix build problem on !HAVE_GETAUXVAL
authorMarcin Kościelnicki <koriakin@0x04.net>
Sun, 3 Apr 2016 12:25:25 +0000 (14:25 +0200)
committerMarcin Kościelnicki <koriakin@0x04.net>
Sun, 3 Apr 2016 16:27:50 +0000 (18:27 +0200)
commitd0a9981f372e636508b9a235017f2aba565e435d
tree32e02ee837fe1414550cdadaba57e230984c3682
parent4b0046f325db3547fef1752020930d5f5df9801a
IPA: Fix build problem on !HAVE_GETAUXVAL

These files need AT_PHDR, which is defined in elf.h.  If HAVE_GETAUXVAL
is set, it's implicitely included by sys/auxv.h.  Include it manually
for the opposite case.

gdb/gdbserver/ChangeLog:

* linux-aarch64-ipa.c: Add <elf.h> include.
* linux-ppc-ipa.c: Add <elf.h> include.
* linux-s390-ipa.c: Add <elf.h> include.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-aarch64-ipa.c
gdb/gdbserver/linux-ppc-ipa.c
gdb/gdbserver/linux-s390-ipa.c