summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorVlad Ivanov <vlad@ivanov.email>2017-01-25 22:20:26 +0300
committerVlad Ivanov <vlad@ivanov.email>2017-02-07 20:26:08 +0300
commitf0ba717142aa779a2b76f30cca2e16ac5d27b083 (patch)
tree73dfdd01cd73709a3c41b8dcccb7074777c50cb3 /third_party
parent4c55039c225ee9bf7b6dbc066db7e843652a2688 (diff)
Fix a bunch of missing cmath includes
...as well as missing std:: namespace specifiers
Diffstat (limited to 'third_party')
-rw-r--r--third_party/llvm/include/llvm/Support/MathExtras.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/llvm/include/llvm/Support/MathExtras.h b/third_party/llvm/include/llvm/Support/MathExtras.h
index 4d2ff0989..92b43bc88 100644
--- a/third_party/llvm/include/llvm/Support/MathExtras.h
+++ b/third_party/llvm/include/llvm/Support/MathExtras.h
@@ -18,8 +18,9 @@
#ifdef IGNORED_LLVM_XENIA
#include "llvm/Support/SwapByteOrder.h"
#endif // IGNORED_LLVM_XENIA
-#include "llvm/Support/type_traits.h"
+#include <cmath>
#include <cstring>
+#include "llvm/Support/type_traits.h"
#ifdef _MSC_VER
#include <intrin.h>