diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-03-11 01:20:23 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-03-11 01:20:23 +0000 |
commit | f522ce1f18726313058d81ba74ed8b44fa279d99 (patch) | |
tree | 4229d85950011fe690a90a297d11f58e8ae9f0ad /include | |
parent | dbb4b2fb5eaa9ea99da620a7df764da0b73323d6 (diff) | |
download | external_llvm-f522ce1f18726313058d81ba74ed8b44fa279d99.zip external_llvm-f522ce1f18726313058d81ba74ed8b44fa279d99.tar.gz external_llvm-f522ce1f18726313058d81ba74ed8b44fa279d99.tar.bz2 |
Fix warnings when building with VS11.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152523 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/DataTypes.h.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Support/DataTypes.h.cmake b/include/llvm/Support/DataTypes.h.cmake index d17f35f..a3a6489 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 <stdint.h> +#endif #include <stdlib.h> #include <stddef.h> #include <sys/types.h> |