blob: e7cc6f70d05547f58e9944881fa7bec4d46b0e05 (
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
|
From 0853378b2f2de82c59501e31d18906694ec6e27e Mon Sep 17 00:00:00 2001
From: Bruno de Oliveira Abinader <bruno@mapbox.com>
Date: Wed, 22 Apr 2020 19:54:53 +0300
Subject: Fix compilation issues on GCC 9
---
platform/default/bidi.cpp | 1 +
src/mbgl/util/convert.cpp | 2 ++
2 files changed, 3 insertions(+)
diff --git a/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp b/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp
index d475c387b..c1710a6f1 100644
--- a/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp
+++ b/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp
@@ -5,6 +5,7 @@
#include <unicode/ushape.h>
#include <memory>
+#include <stdexcept>
namespace mbgl {
diff --git a/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp b/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp
index 97bfe9108..510ff2386 100644
--- a/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp
+++ b/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp
@@ -1,5 +1,7 @@
#include <mbgl/util/convert.hpp>
+#include <cstdint>
+
namespace mbgl {
namespace util {
--
cgit v1.2.1
|