public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Add missing include in coffcode.h.
@ 2014-03-01 14:38 Mark Kettenis
  0 siblings, 0 replies; only message in thread
From: Mark Kettenis @ 2014-03-01 14:38 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-03-01 14:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-01 14:38 [PATCH] Add missing include in coffcode.h Mark Kettenis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).