1
0
Fork 0

Add missing `cstdint` includes for GCC 15

This commit is contained in:
Rémi Verschelde 2025-01-25 14:55:12 +01:00
parent b15b24b087
commit 1823460787
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>