From 0a82d78d8c5b9aa913fa5a6d8f56cb3ec1569c02 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Wed, 29 Oct 2003 04:25:48 +0000 Subject: [PATCH] Pull in stdint.h here, if we have it. Some systems keep the INT*_MAX macros there. llvm-svn: 9577 --- llvm/include/Support/DataTypes.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/llvm/include/Support/DataTypes.h b/llvm/include/Support/DataTypes.h index 39939d6d0ae8..4904bb31daa9 100644 --- a/llvm/include/Support/DataTypes.h +++ b/llvm/include/Support/DataTypes.h @@ -30,6 +30,10 @@ // happening when system headers or C++ STL headers include stdint.h before // we define it here, we define it on the g++ command line (in Makefile.rules). +#ifdef HAVE_STDINT_H +#include +#endif + #ifdef HAVE_INTTYPES_H #include #endif