aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/MathExtras.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/MathExtras.cpp')
-rw-r--r--llvm/lib/Support/MathExtras.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/MathExtras.cpp b/llvm/lib/Support/MathExtras.cpp
index 7efffaa7f8b8..ad44b1a21676 100644
--- a/llvm/lib/Support/MathExtras.cpp
+++ b/llvm/lib/Support/MathExtras.cpp
@@ -15,7 +15,7 @@
#ifdef _MSC_VER
#include <limits>
#else
-#include <math.h>
+#include <cmath>
#endif
namespace llvm {