This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Add missing include in coffcode.h.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]