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 | 512cab2827d0c03f17dd329f61f1421adb64be66 (patch) | |
| tree | c76edb30cd19115240d2849512e665de3fa70873 /llvm | |
| parent | 914dc77dfc338694bc284a20161f78b6a24aaa82 (diff) | |
| download | bcm5719-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.cmake | 3 |
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> |

