1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Add missing cstdint includes for GCC 15

(cherry picked from commit 1823460787)
This commit is contained in:
Rémi Verschelde
2025-01-25 14:55:12 +01:00
parent 90f21a35c7
commit 3aafddd63b
4 changed files with 26 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ namespace spv {
}
#include <algorithm>
#include <cstdint>
#include <map>
#include <memory>
#include <set>

View File

@@ -0,0 +1,12 @@
diff --git a/thirdparty/glslang/SPIRV/SpvBuilder.h b/thirdparty/glslang/SPIRV/SpvBuilder.h
index a65a98e337..1499592c4f 100644
--- a/thirdparty/glslang/SPIRV/SpvBuilder.h
+++ b/thirdparty/glslang/SPIRV/SpvBuilder.h
@@ -56,6 +56,7 @@ namespace spv {
}
#include <algorithm>
+#include <cstdint>
#include <map>
#include <memory>
#include <set>

View File

@@ -1,6 +1,7 @@
#ifndef _THORVG_H_
#define _THORVG_H_
#include <cstdint>
#include <functional>
#include <memory>
#include <string>

View File

@@ -0,0 +1,12 @@
diff --git a/thirdparty/thorvg/inc/thorvg.h b/thirdparty/thorvg/inc/thorvg.h
index 8e3ab4e6ce..f515a03136 100644
--- a/thirdparty/thorvg/inc/thorvg.h
+++ b/thirdparty/thorvg/inc/thorvg.h
@@ -1,6 +1,7 @@
#ifndef _THORVG_H_
#define _THORVG_H_
+#include <cstdint>
#include <functional>
#include <memory>
#include <string>