Skip to content

Instantly share code, notes, and snippets.

View codedipper's full-sized avatar

Revvy codedipper

View GitHub Profile
@codedipper
codedipper / stk-code-1.4-patch.diff
Created December 16, 2023 20:30
When compiling Vulkan components for SuperTuxKart 1.4 on newer versions of GCC, you may see missing headers. This patch includes them.
diff --git a/lib/graphics_engine/include/vk_mem_alloc.h b/lib/graphics_engine/include/vk_mem_alloc.h
index bdb4ff576..df1f5d98f 100644
--- a/lib/graphics_engine/include/vk_mem_alloc.h
+++ b/lib/graphics_engine/include/vk_mem_alloc.h
@@ -2645,6 +2645,7 @@ remove them if not needed.
#include <cassert> // for assert
#include <algorithm> // for min, max
#include <mutex>
+ #include <cstdio>
#else