summaryrefslogtreecommitdiff
path: root/network/palemoon/0001-Issue-7-Add-GCC-11-initial-support.patch
blob: 38ec82aad97278fe2fe5eba408a5518f25742519 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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