From f131d0c3165a39137046d039b0af41ee325407b4 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Tue, 11 Mar 2014 20:59:29 -0500 Subject: [PATCH] binutils: fix missing stdint in binutils bdf * Fixes issue compiling PPC binutils * Upstream commit 3c865fca8 by Alan Modra * Missing a stdint.h in coff header for intptr_t usage * PPC fix is upstream via: https://sourceware.org/bugzilla/show_bug.cgi?id=16686 --- binutils/bfd/coff-rs6000.c | 1 + binutils/bfd/coff64-rs6000.c | 1 + 2 files changed, 2 insertions(+) diff --git a/binutils/bfd/coff-rs6000.c b/binutils/bfd/coff-rs6000.c index 9326b32..4d063a6 100644 --- a/binutils/bfd/coff-rs6000.c +++ b/binutils/bfd/coff-rs6000.c @@ -118,6 +118,7 @@ #define bfd_pe_print_pdata NULL #endif +#include #include "coffcode.h" /* The main body of code is in coffcode.h. */ diff --git a/binutils/bfd/coff64-rs6000.c b/binutils/bfd/coff64-rs6000.c index 0821b6f..510a4d7 100644 --- a/binutils/bfd/coff64-rs6000.c +++ b/binutils/bfd/coff64-rs6000.c @@ -279,6 +279,7 @@ #define bfd_pe_print_pdata NULL #endif +#include #include "coffcode.h" /* For XCOFF64, the effective width of symndx changes depending on -- gitore 0.2.3