From f522ce1f18726313058d81ba74ed8b44fa279d99 Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Sun, 11 Mar 2012 01:20:23 +0000 Subject: Fix warnings when building with VS11. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152523 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/DataTypes.h.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/llvm/Support/DataTypes.h.cmake') diff --git a/include/llvm/Support/DataTypes.h.cmake b/include/llvm/Support/DataTypes.h.cmake index d17f35f1ca..a3a6489e8a 100644 --- a/include/llvm/Support/DataTypes.h.cmake +++ b/include/llvm/Support/DataTypes.h.cmake @@ -94,6 +94,9 @@ typedef u_int64_t uint64_t; #else /* _MSC_VER */ /* Visual C++ doesn't provide standard integer headers, but it does provide built-in data types. */ +#ifdef HAVE_STDINT_H +#include +#endif #include #include #include -- cgit v1.2.3