38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
From 27b19218f0d3df9aaf76e784ed2348dc308437d7 Mon Sep 17 00:00:00 2001
|
|
From: khronosschoty <khronosschoty@posteo.org>
|
|
Date: Fri, 4 Mar 2022 07:15:50 -0800
|
|
Subject: [PATCH 1/1] Issue #7 - Add GCC 11 initial support
|
|
|
|
---
|
|
platform/system/graphics/2d/BaseRect.h | 1 +
|
|
platform/system/network/base/nsURLParsers.cpp | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
diff --git a/platform/system/graphics/2d/BaseRect.h b/platform/system/graphics/2d/BaseRect.h
|
|
index 57d01ba09..b1eed9ddb 100644
|
|
--- a/platform/system/graphics/2d/BaseRect.h
|
|
+++ b/platform/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/platform/system/network/base/nsURLParsers.cpp b/platform/system/network/base/nsURLParsers.cpp
|
|
index b75ee0c4d..ed4a216a8 100644
|
|
--- a/platform/system/network/base/nsURLParsers.cpp
|
|
+++ b/platform/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"
|
|
|
|
--
|
|
2.35.1
|
|
|