aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/hashtab.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index c36413b..c86cbc6 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * hashtab.c [HAVE_INTTYPES_H]: Include <inttypes.h>.
+
2009-09-15 Tristan Gingold <gingold@adacore.com>
* config.h-vms (intptr_t): Define to compile hashtab.c
diff --git a/libiberty/hashtab.c b/libiberty/hashtab.c
index 8c8bd31..8c89bfc 100644
--- a/libiberty/hashtab.c
+++ b/libiberty/hashtab.c
@@ -50,6 +50,9 @@ Boston, MA 02110-1301, USA. */
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif