summaryrefslogtreecommitdiff
path: root/games-emulation/snes9x/files/snes9x-1.62.1-gcc13.patch
blob: 28945fd782fcfc46274f417608064a59bf8c457e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Partly a backport from
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/commit/29d492b60c8
--- a/external/VulkanMemoryAllocator-Hpp/include/vk_mem_alloc.h
+++ b/external/VulkanMemoryAllocator-Hpp/include/vk_mem_alloc.h
@@ -2615,4 +2615,8 @@
 #endif
 
+#if VMA_STATS_STRING_ENABLED
+    #include <cstdio> // For snprintf
+#endif
+
 /*******************************************************************************
 CONFIGURATION SECTION
--- a/vulkan/slang_shader.hpp
+++ b/vulkan/slang_shader.hpp
@@ -1,3 +1,4 @@
 #pragma once
+#include <cstdint>
 #include <string>
 #include <vector>