summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2022-04-16 19:15:44 -0500
committertrav90 <travawine@palemoon.org>2022-04-16 19:15:44 -0500
commit5f8057cbeddf502ed38c8fc49f576e8db179ba39 (patch)
treec932daf60ee28759b46c6997574c4b93cff573eb
parent95cda916d103651472d27261b6a4464cad6b5130 (diff)
downloaduxp-5f8057cbeddf502ed38c8fc49f576e8db179ba39.tar.gz
Issue #1804 - Fix building with GCC 11
-rw-r--r--gfx/2d/BaseRect.h1
-rw-r--r--netwerk/base/nsURLParsers.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/gfx/2d/BaseRect.h b/gfx/2d/BaseRect.h
index 57d01ba09b..b1eed9ddb9 100644
--- a/gfx/2d/BaseRect.h
+++ b/gfx/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/netwerk/base/nsURLParsers.cpp b/netwerk/base/nsURLParsers.cpp
index b75ee0c4d4..ed4a216a88 100644
--- a/netwerk/base/nsURLParsers.cpp
+++ b/netwerk/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"