This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Add missing include in coffcode.h.
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: binutils at sourceware dot org
- Date: Sat, 1 Mar 2014 15:38:26 +0100 (CET)
- Subject: [PATCH] Add missing include in coffcode.h.
- Authentication-results: sourceware.org; auth=none
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