summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/NativeFormatting.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2018-01-18 20:49:33 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2018-01-18 20:49:33 +0000
commit719c1f7405d6c67e69e6a2793334d4fd36402897 (patch)
treed2fb2ab14eeef56199056f3463d5018cd11a063d /llvm/lib/Support/NativeFormatting.cpp
parent8181d23b3db2199e37fea9c93bc42a2a6a5ade98 (diff)
downloadbcm5719-llvm-719c1f7405d6c67e69e6a2793334d4fd36402897.tar.gz
bcm5719-llvm-719c1f7405d6c67e69e6a2793334d4fd36402897.zip
Support: Add missing #include.
This #include is necessary to provide the definitions of _fpclass and _FPCLASS_NZ when building with libc++. llvm-svn: 322885
Diffstat (limited to 'llvm/lib/Support/NativeFormatting.cpp')
-rw-r--r--llvm/lib/Support/NativeFormatting.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/NativeFormatting.cpp b/llvm/lib/Support/NativeFormatting.cpp
index b951a88a38d..85b4bfb8156 100644
--- a/llvm/lib/Support/NativeFormatting.cpp
+++ b/llvm/lib/Support/NativeFormatting.cpp
@@ -14,6 +14,8 @@
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/Format.h"
+#include <float.h>
+
using namespace llvm;
template<typename T, std::size_t N>
OpenPOWER on IntegriCloud