summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkhronosschoty <khronosschoty@posteo.org>2022-03-04 07:15:50 -0800
committerkhronosschoty <khronosschoty@posteo.org>2022-03-04 07:26:43 -0800
commit27b19218f0d3df9aaf76e784ed2348dc308437d7 (patch)
treefde7baf61c7cc05676161324a601b43b1a5bed3a
parenta05a65278058562ce7bcab7b6a58e256436aa853 (diff)
downloadGRE-27b19218f0d3df9aaf76e784ed2348dc308437d7.tar.gz
Issue #7 - Add GCC 11 initial support
-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"