blob: ba4e94e859fbedb1562376f77bda179468ab8c40 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
From d8054f1efa0b97b291a6f8c7fff9090b0fd4328e Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fvogt@suse.de>
Date: Fri, 3 Mar 2023 11:39:58 +0100
Subject: [PATCH] Add some missing cstdint inclusions (#872)
GCC 13 removed some indirect inclusions of cstdint which this relied on.
Include it explicitly to fix build errors.
---
include/mbgl/util/geometry.hpp | 2 ++
include/mbgl/util/string.hpp | 1 +
src/mbgl/gl/stencil_mode.hpp | 2 ++
3 files changed, 5 insertions(+)
diff --git a/include/mbgl/util/geometry.hpp b/include/mbgl/util/geometry.hpp
index a28c59a47d..283ec7dbbe 100644
--- a/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp
+++ b/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp
@@ -1,5 +1,7 @@
#pragma once
+#include <cstdint>
+
#include <mapbox/geometry/geometry.hpp>
#include <mapbox/geometry/point_arithmetic.hpp>
#include <mapbox/geometry/for_each_point.hpp>
diff --git a/include/mbgl/util/string.hpp b/include/mbgl/util/string.hpp
index 13498ccb92..2f6acb6410 100644
--- a/src/3rdparty/mapbox-gl-native/include/mbgl/util/string.hpp
+++ b/src/3rdparty/mapbox-gl-native/include/mbgl/util/string.hpp
@@ -3,6 +3,7 @@
#include <sstream>
#include <string>
#include <cassert>
+#include <cstdint>
#include <cstdlib>
#include <exception>
diff --git a/src/mbgl/gl/stencil_mode.hpp b/src/mbgl/gl/stencil_mode.hpp
index bc959c9a73..fd00370f88 100644
--- a/src/3rdparty/mapbox-gl-native/src/mbgl/gl/stencil_mode.hpp
+++ b/src/3rdparty/mapbox-gl-native/src/mbgl/gl/stencil_mode.hpp
@@ -1,5 +1,7 @@
#pragma once
+#include <cstdint>
+
#include <mbgl/util/variant.hpp>
namespace mbgl {
--
GitLab
|