1From e40c14a3e007fac0e4f2e4164fdf14d1712355bd Mon Sep 17 00:00:00 2001 2From: Sergei Trofimovich <slyich@gmail.com> 3Date: Fri, 2 Aug 2024 22:44:21 +0100 4Subject: [PATCH] SPIRV/SpvBuilder.h: add missing <cstdint> include 5 6Without the change `glslang` build fails on upcoming `gcc-15` as: 7 8 In file included from /build/source/SPIRV/GlslangToSpv.cpp:45: 9 SPIRV/SpvBuilder.h:248:30: error: 'uint32_t' has not been declared 10 248 | Id makeDebugLexicalBlock(uint32_t line); 11 | ^~~~~~~~ 12 13Upstream-Status: Backport [https://github.com/KhronosGroup/glslang/commit/e40c14a3e007fac0e4f2e4164fdf14d1712355bd] 14Signed-off-by: Khem Raj <raj.khem@gmail.com> 15--- 16 SPIRV/SpvBuilder.h | 1 + 17 1 file changed, 1 insertion(+) 18 19--- a/SPIRV/SpvBuilder.h 20+++ b/SPIRV/SpvBuilder.h 21@@ -56,6 +56,7 @@ namespace spv { 22 } 23 24 #include <algorithm> 25+#include <cstdint> 26 #include <map> 27 #include <memory> 28 #include <set> 29