summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/graphics/2d/BaseRect.h1
-rw-r--r--system/network/base/nsURLParsers.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/system/graphics/2d/BaseRect.h b/system/graphics/2d/BaseRect.h
index 57d01ba09..b1eed9ddb 100644
--- a/system/graphics/2d/BaseRect.h
+++ b/system/graphics/2d/BaseRect.h
@@ -9,6 +9,7 @@
#include <algorithm>
#include <cmath>
#include <ostream>
+#include <limits>
#include "mozilla/Assertions.h"
#include "mozilla/FloatingPoint.h"
diff --git a/system/network/base/nsURLParsers.cpp b/system/network/base/nsURLParsers.cpp
index b75ee0c4d..ed4a216a8 100644
--- a/system/network/base/nsURLParsers.cpp
+++ b/system/network/base/nsURLParsers.cpp
@@ -4,6 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include <string.h>
+#include <limits>
#include "mozilla/RangedPtr.h"