summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/3rdparty/javascriptcore/JavaScriptCore/wtf/DateMath.cpp3
-rw-r--r--src/3rdparty/javascriptcore/JavaScriptCore/wtf/dtoa.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/DateMath.cpp b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/DateMath.cpp
index a6eb0d6..a2a4d30 100644
--- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/DateMath.cpp
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/DateMath.cpp
@@ -74,7 +74,6 @@
#include "Assertions.h"
#include "ASCIICType.h"
#include "CurrentTime.h"
-#include "MathExtras.h"
#include "StringExtras.h"
#include <algorithm>
@@ -105,6 +104,8 @@ extern "C" struct tm * localtime(const time_t *timer);
#include "CallFrame.h"
#endif
+#include "MathExtras.h"
+
#define NaN std::numeric_limits<double>::quiet_NaN()
using namespace WTF;
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/dtoa.cpp b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/dtoa.cpp
index fe65042..97c6c8f 100644
--- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/dtoa.cpp
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/dtoa.cpp
@@ -147,12 +147,13 @@
#include <wtf/AlwaysInline.h>
#include <wtf/Assertions.h>
#include <wtf/FastMalloc.h>
-#include <wtf/MathExtras.h>
#include <wtf/Vector.h>
#include <wtf/Threading.h>
#include <stdio.h>
+#include <wtf/MathExtras.h>
+
#if COMPILER(MSVC)
#pragma warning(disable: 4244)
#pragma warning(disable: 4245)