summaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-26 17:58:31 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-26 17:58:31 +0000
commit9e76b5866a3affe6488ed6668e4630904b913207 (patch)
tree09f5ca1344d1ad28f04e2efda018b16d6f59ca24 /libcpp
parent67fa407877f98e6b8043be20f3ed38c7540b1fb0 (diff)
downloadgcc-9e76b5866a3affe6488ed6668e4630904b913207.tar.gz
* system.h [HAVE_INTTYPES_H]: Include inttypes.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163569 138bc75d-0d04-0410-961f-82ee72b054a4
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>