summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2020-04-22 19:54:53 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2020-04-22 21:36:00 +0300
commit1798bda98112dce54f3577b54d6e73eb21483bbc (patch)
tree9e42cbc33d34d83c9315bd3e566c0afea3772b0f
parent64c5b46d9e3827bf92fab5ff7a4abcf5e2db1ac0 (diff)
downloadqtlocation-mapboxgl-1798bda98112dce54f3577b54d6e73eb21483bbc.tar.gz
Fix compilation issues on GCC 9
-rw-r--r--platform/default/src/mbgl/text/bidi.cpp1
-rw-r--r--src/mbgl/util/convert.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/platform/default/src/mbgl/text/bidi.cpp b/platform/default/src/mbgl/text/bidi.cpp
index af3ac80881..44b9af4f04 100644
--- a/platform/default/src/mbgl/text/bidi.cpp
+++ b/platform/default/src/mbgl/text/bidi.cpp
@@ -5,6 +5,7 @@
#include <unicode/ushape.h>
#include <memory>
+#include <stdexcept>
#include <utility>
namespace mbgl {
diff --git a/src/mbgl/util/convert.cpp b/src/mbgl/util/convert.cpp
index 97bfe9108d..56d3e1730a 100644
--- a/src/mbgl/util/convert.cpp
+++ b/src/mbgl/util/convert.cpp
@@ -1,3 +1,4 @@
+#include <cstdint>
#include <mbgl/util/convert.hpp>
namespace mbgl {