summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2012-03-11 01:20:23 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2012-03-11 01:20:23 +0000
commit512cab2827d0c03f17dd329f61f1421adb64be66 (patch)
treec76edb30cd19115240d2849512e665de3fa70873 /llvm
parent914dc77dfc338694bc284a20161f78b6a24aaa82 (diff)
downloadbcm5719-llvm-512cab2827d0c03f17dd329f61f1421adb64be66.tar.gz
bcm5719-llvm-512cab2827d0c03f17dd329f61f1421adb64be66.zip
Fix warnings when building with VS11.
llvm-svn: 152523
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Support/DataTypes.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/DataTypes.h.cmake b/llvm/include/llvm/Support/DataTypes.h.cmake
index d17f35f1ca4..a3a6489e8a5 100644
--- a/llvm/include/llvm/Support/DataTypes.h.cmake
+++ b/llvm/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>
OpenPOWER on IntegriCloud