修訂 | 38aad32c0eb4cc55a9f41cb25f27f274cf2951f6 (tree) |
---|---|
時間 | 2024-06-04 23:32:13 |
作者 | Fs <Fsu0413@vip....> |
Commiter | Fs |
mbgl: fix include on gcc13
@@ -0,0 +1,34 @@ | ||
1 | +diff -rNuZ a/include/mbgl/util/geometry.hpp b/include/mbgl/util/geometry.hpp | |
2 | +--- a/include/mbgl/util/geometry.hpp 2024-05-08 13:14:45.000000000 +0800 | |
3 | ++++ b/include/mbgl/util/geometry.hpp 2024-06-04 21:40:56.423915000 +0800 | |
4 | +@@ -4,6 +4,8 @@ | |
5 | + #include <mapbox/geometry/point_arithmetic.hpp> | |
6 | + #include <mapbox/geometry/for_each_point.hpp> | |
7 | + | |
8 | ++#include <cstdint> | |
9 | ++ | |
10 | + namespace mbgl { | |
11 | + | |
12 | + enum class FeatureType : uint8_t { | |
13 | +diff -rNuZ a/include/mbgl/util/string.hpp b/include/mbgl/util/string.hpp | |
14 | +--- a/include/mbgl/util/string.hpp 2024-05-08 13:14:45.000000000 +0800 | |
15 | ++++ b/include/mbgl/util/string.hpp 2024-06-04 22:04:37.412340200 +0800 | |
16 | +@@ -5,6 +5,7 @@ | |
17 | + #include <cassert> | |
18 | + #include <cstdlib> | |
19 | + #include <exception> | |
20 | ++#include <cstdint> | |
21 | + | |
22 | + // Polyfill needed by Qt when building for Android with GCC | |
23 | + #if defined(__ANDROID__) && defined(__GLIBCXX__) | |
24 | +diff -rNuZ a/src/mbgl/gl/stencil_mode.hpp b/src/mbgl/gl/stencil_mode.hpp | |
25 | +--- a/src/mbgl/gl/stencil_mode.hpp 2024-05-08 13:14:45.000000000 +0800 | |
26 | ++++ b/src/mbgl/gl/stencil_mode.hpp 2024-06-04 22:05:17.807399200 +0800 | |
27 | +@@ -1,6 +1,7 @@ | |
28 | + #pragma once | |
29 | + | |
30 | + #include <mbgl/util/variant.hpp> | |
31 | ++#include <cstdint> | |
32 | + | |
33 | + namespace mbgl { | |
34 | + namespace gl { |