File snes9x_gcc13.patch of Package snes9x

From 5de2861f222335e2aefac651f38016c45a580001 Mon Sep 17 00:00:00 2001
From: ahmedmoselhi <ahmedmoselhi55@gmail.com>
Date: Sun, 9 Apr 2023 22:08:28 +0200
Subject: [PATCH] Fix error: 'uint32_t' was not declared in this scope

---
 external/VulkanMemoryAllocator-Hpp/include/vk_mem_alloc.h | 1 +
 vulkan/slang_shader.hpp                                   | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/external/VulkanMemoryAllocator-Hpp/include/vk_mem_alloc.h b/external/VulkanMemoryAllocator-Hpp/include/vk_mem_alloc.h
index 844bbff..2228f8b 100644
--- a/external/VulkanMemoryAllocator-Hpp/include/vk_mem_alloc.h
+++ b/external/VulkanMemoryAllocator-Hpp/include/vk_mem_alloc.h
@@ -2684,6 +2684,7 @@ remove them if not needed.
     #include <cassert> // for assert
     #include <algorithm> // for min, max
     #include <mutex>
+    #include <cstdio>
 #else
     #include VMA_CONFIGURATION_USER_INCLUDES_H
 #endif
diff --git a/vulkan/slang_shader.hpp b/vulkan/slang_shader.hpp
index 8af9f48..6e24bcd 100644
--- a/vulkan/slang_shader.hpp
+++ b/vulkan/slang_shader.hpp
@@ -1,6 +1,7 @@
 #pragma once
 #include <string>
 #include <vector>
+#include <cstdint>
 
 struct SlangShader
 {
@@ -101,4 +102,4 @@ struct SlangShader
     int ubo_binding;
     std::vector<Uniform> uniforms;
     std::vector<Sampler> samplers;
-};
\ No newline at end of file
+};
-- 
2.40.0

openSUSE Build Service is sponsored by