From 92ce461e77dad3451eb5791efe7413a989dc2c3c Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@konsulko.com>
Date: Wed, 7 Jun 2023 22:59:53 +0000
Subject: [PATCH] mapbox-gl: explicitly include cstdint header

Otherwise gcc13 report "undeclared" error for uint8_t and uint32_t

Upstream-Status: Pending

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
 include/mbgl/util/geometry.hpp | 1 +
 include/mbgl/util/string.hpp   | 1 +
 src/mbgl/gl/stencil_mode.hpp   | 1 +
 3 files changed, 3 insertions(+)

diff --git a/include/mbgl/util/geometry.hpp b/include/mbgl/util/geometry.hpp
index a28c59a47..92d928a37 100644
--- a/include/mbgl/util/geometry.hpp
+++ b/include/mbgl/util/geometry.hpp
@@ -1,5 +1,6 @@
 #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 13498ccb9..726f7f6fc 100644
--- a/include/mbgl/util/string.hpp
+++ b/include/mbgl/util/string.hpp
@@ -1,5 +1,6 @@
 #pragma once
 
+#include <cstdint>
 #include <sstream>
 #include <string>
 #include <cassert>
diff --git a/src/mbgl/gl/stencil_mode.hpp b/src/mbgl/gl/stencil_mode.hpp
index bc959c9a7..2fc62bba7 100644
--- a/src/mbgl/gl/stencil_mode.hpp
+++ b/src/mbgl/gl/stencil_mode.hpp
@@ -1,5 +1,6 @@
 #pragma once
 
+#include <cstdint>
 #include <mbgl/util/variant.hpp>
 
 namespace mbgl {
-- 
2.25.1

