From 46fc25deef370c901c7a5458c564d521d0ad72fc Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Sun, 18 Jun 2023 18:46:24 +0300 Subject: [PATCH] [qt] Add missing includes to fix build with GCC 13 --- 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 a28c59a47de..a41b3ab871e 100644 --- a/include/mbgl/util/geometry.hpp +++ b/include/mbgl/util/geometry.hpp @@ -4,6 +4,8 @@ #include #include +#include + namespace mbgl { enum class FeatureType : uint8_t { diff --git a/include/mbgl/util/string.hpp b/include/mbgl/util/string.hpp index 13498ccb923..4dc82a88ba9 100644 --- a/include/mbgl/util/string.hpp +++ b/include/mbgl/util/string.hpp @@ -4,6 +4,7 @@ #include #include #include +#include #include // Polyfill needed by Qt when building for Android with GCC diff --git a/src/mbgl/gl/stencil_mode.hpp b/src/mbgl/gl/stencil_mode.hpp index bc959c9a735..50ebfe6ddcf 100644 --- a/src/mbgl/gl/stencil_mode.hpp +++ b/src/mbgl/gl/stencil_mode.hpp @@ -2,6 +2,8 @@ #include +#include + namespace mbgl { namespace gl {