[PATCH] Add missing include in coffcode.h.

Mark Kettenis mark.kettenis@xs4all.nl
Sat Mar 1 14:38:00 GMT 2014


This file used intptr_t, therefore we need to include "bfd_stdint.h".
Fixes build on OpenBSD/powerpc.

bfd/ChangeLog:

        * coffcode.h: Include "bdf_stdint.h".
---
 bfd/ChangeLog  | 4 ++++
 bfd/coffcode.h | 1 +
 2 files changed, 5 insertions(+)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 75a638c..15b0c6c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2014-03-01  Mark Kettenis  <kettenis@gnu.org>
+
+	* coffcode.h: Include "bdf_stdint.h".
+
 2014-02-28  Alan Modra  <amodra@gmail.com>
 
 	PR ld/16643
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 542b5b7..d0169d1 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -359,6 +359,7 @@ CODE_FRAGMENT
 
 */
 
+#include "bfd_stdint.h"
 #include "libiberty.h"
 
 #ifdef COFF_WITH_PE
-- 
1.8.5.2



More information about the Binutils mailing list