diff options
author | Alan Modra <amodra@gmail.com> | 2014-03-11 15:42:46 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-03-11 16:13:45 +1030 |
commit | 3c865fca872570ba07c4a16fb262e0487b66bf0a (patch) | |
tree | ace24cab3a89bdf17b338ad057b6f8589a58e413 /bfd/coff64-rs6000.c | |
parent | c1966e261a3c0e0a32639d464a5ebee83aa31144 (diff) | |
download | gdb-3c865fca872570ba07c4a16fb262e0487b66bf0a.zip gdb-3c865fca872570ba07c4a16fb262e0487b66bf0a.tar.gz gdb-3c865fca872570ba07c4a16fb262e0487b66bf0a.tar.bz2 |
intptr_t type definition needed
coffcode.h uses an intptr_t cast inside an #ifdef RS6000COFF_C, so
ensure that intptr_t is defined. We don't see this when
cross-compiling from linux due to intptr_t being provided by
unistd.h.
PR 16686
* coff-rs6000.c: Include stdint.h.
* coff64-rs6000.c: Likewise.
Diffstat (limited to 'bfd/coff64-rs6000.c')
-rw-r--r-- | bfd/coff64-rs6000.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c index 0e0f0d4..4bc7ea8 100644 --- a/bfd/coff64-rs6000.c +++ b/bfd/coff64-rs6000.c @@ -277,6 +277,7 @@ extern int rs6000coff_core_file_failing_signal #define bfd_pe_print_pdata NULL #endif +#include <stdint.h> #include "coffcode.h" /* For XCOFF64, the effective width of symndx changes depending on |