aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorKai Tietz <ktietz@gcc.gnu.org>2009-09-08 17:21:07 +0200
committerKai Tietz <ktietz@gcc.gnu.org>2009-09-08 17:21:07 +0200
commit7c2a2dbf5018d6d79251c84d0ad0be3aee3e6204 (patch)
tree90bf22a3a25a610e63a56b6e9a40cfe86efb05e3 /gcc/system.h
parent8472b255108e07cfda0b5d4d12208636bbbd551f (diff)
downloadgcc-7c2a2dbf5018d6d79251c84d0ad0be3aee3e6204.zip
gcc-7c2a2dbf5018d6d79251c84d0ad0be3aee3e6204.tar.gz
gcc-7c2a2dbf5018d6d79251c84d0ad0be3aee3e6204.tar.bz2
[multiple changes]
2009-09-08 Paolo Bonzini <bonzini@gnu.org> * stdint.m4: Rewrite by using autoconf 2.64 features. 2009-09-08 Kai Tietz <kai.tietz@onevision.com> * configure.ac (GCC_STDINT_TYPES): Initialize intptr_t, uintptr_t, HAVE_INTTYPES_H, HAVE_STDINT_H, HAVE_UINTPTR_T, and HAVE_INTPTR_T. * configure: Regenerated. * config.in: Regenerated * system.h (stdint.h): Add include. (inttypes.h): Likewise. * Makefile.in (aclocal): Add config/stdint.m4. * aclocal.m4: Regenerated. From-SVN: r151514
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h
index b74e0e5..1b36ddf 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -414,6 +414,14 @@ extern void *calloc (size_t, size_t);
extern void *realloc (void *, size_t);
#endif
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
+
/* If the system doesn't provide strsignal, we get it defined in
libiberty but no declaration is supplied. */
#if !defined (HAVE_STRSIGNAL) \