diff --git a/thirdparty/glslang/SPIRV/SpvBuilder.h b/thirdparty/glslang/SPIRV/SpvBuilder.h index a65a98e3377..1499592c4f8 100644 --- a/thirdparty/glslang/SPIRV/SpvBuilder.h +++ b/thirdparty/glslang/SPIRV/SpvBuilder.h @@ -56,6 +56,7 @@ namespace spv { } #include +#include #include #include #include diff --git a/thirdparty/glslang/patches/fix-build-gcc15.patch b/thirdparty/glslang/patches/fix-build-gcc15.patch new file mode 100644 index 00000000000..69ccf8e34c3 --- /dev/null +++ b/thirdparty/glslang/patches/fix-build-gcc15.patch @@ -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 ++#include + #include + #include + #include diff --git a/thirdparty/thorvg/inc/thorvg.h b/thirdparty/thorvg/inc/thorvg.h index 4303092a5ea..607b7b37825 100644 --- a/thirdparty/thorvg/inc/thorvg.h +++ b/thirdparty/thorvg/inc/thorvg.h @@ -1,6 +1,7 @@ #ifndef _THORVG_H_ #define _THORVG_H_ +#include #include #include #include diff --git a/thirdparty/thorvg/patches/fix-build-gcc15.patch b/thirdparty/thorvg/patches/fix-build-gcc15.patch new file mode 100644 index 00000000000..4071e1dd6e6 --- /dev/null +++ b/thirdparty/thorvg/patches/fix-build-gcc15.patch @@ -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 + #include + #include + #include