aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4global_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4global_p.h')
-rw-r--r--src/qml/jsruntime/qv4global_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4global_p.h b/src/qml/jsruntime/qv4global_p.h
index c5a31eb555..d354e7646c 100644
--- a/src/qml/jsruntime/qv4global_p.h
+++ b/src/qml/jsruntime/qv4global_p.h
@@ -47,6 +47,9 @@
#include <qtqmlglobal.h>
#if defined(Q_CC_MSVC)
+#include <float.h>
+#include <math.h>
+
namespace std {
inline bool isinf(double d) { return !_finite(d) && !_isnan(d); }