summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-04-17 01:16:32 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-17 01:16:32 +0000
commit279ed4a9cf67740095672a6f62d7848627809993 (patch)
treec932daf60ee28759b46c6997574c4b93cff573eb
parent95cda916d103651472d27261b6a4464cad6b5130 (diff)
parent5f8057cbeddf502ed38c8fc49f576e8db179ba39 (diff)
downloaduxp-279ed4a9cf67740095672a6f62d7848627809993.tar.gz
Merge pull request 'Fix building with GCC 11' (#1868) from trav90/UXP-contrib:gcc-work into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1868
-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"