From 707bcb7ae4fbf293236605bf754382266f9d9220 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Thu, 26 Aug 2010 17:58:31 +0000 Subject: [PATCH] * system.h [HAVE_INTTYPES_H]: Include inttypes.h. From-SVN: r163569 --- libcpp/ChangeLog | 4 ++++ libcpp/system.h | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 + + * system.h [HAVE_INTTYPES_H]: Include inttypes.h. + 2010-08-24 Richard Henderson 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 #endif +#ifdef HAVE_INTTYPES_H +# include +#endif #include