summaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2010-08-26 17:58:31 +0000
committerRainer Orth <ro@gcc.gnu.org>2010-08-26 17:58:31 +0000
commit707bcb7ae4fbf293236605bf754382266f9d9220 (patch)
tree09f5ca1344d1ad28f04e2efda018b16d6f59ca24 /libcpp
parent9e3920e97f0cc9df385cf357f4d123564e0da7ad (diff)
downloadgcc-707bcb7ae4fbf293236605bf754382266f9d9220.tar.gz
* system.h [HAVE_INTTYPES_H]: Include inttypes.h.
From-SVN: r163569
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog4
-rw-r--r--libcpp/system.h5
2 files changed, 8 insertions, 1 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 95918e2f52b..ab607fd89f5 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * system.h [HAVE_INTTYPES_H]: Include inttypes.h.
+
2010-08-24 Richard Henderson <rth@redhat.com>
PR bootstrap/45376
diff --git a/libcpp/system.h b/libcpp/system.h
index 1a74734a73e..5bdfeeda018 100644
--- a/libcpp/system.h
+++ b/libcpp/system.h
@@ -1,6 +1,6 @@
/* Get common system includes and various definitions and declarations based
on autoconf macros.
- Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009
+ Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009, 2010
Free Software Foundation, Inc.
This file is part of GCC.
@@ -32,6 +32,9 @@ along with GCC; see the file COPYING3. If not see
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
#include <stdio.h>