From 169f895ebdc63799d2230e0d01b57ea8fdb8b6ca Mon Sep 17 00:00:00 2001 From: Red Bear OS Date: Thu, 11 Jun 2026 02:14:44 +0300 Subject: [PATCH] vk_sync.h: include for wchar_t type vk_sync.h uses wchar_t in function pointer types (import_win32_handle, export_win32_handle, set_win32_export_params) but does not include . Under glibc, wchar_t is transitively pulled in via . Under relibc, it is not, so mesa 24.0 fails to compile vk_sync.c, vk_sync_binary.c, vk_sync_dummy.c with: src/vulkan/runtime/vk_sync.h:285:42: error: unknown type name wchar_t Add an explicit include so the type is always available regardless of the transitive header chain. --- src/vulkan/runtime/vk_sync.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vulkan/runtime/vk_sync.h b/src/vulkan/runtime/vk_sync.h index 15d85dc..39d9f34 100644 --- a/src/vulkan/runtime/vk_sync.h +++ b/src/vulkan/runtime/vk_sync.h @@ -24,6 +24,7 @@ #define VK_SYNC_H #include +#include #include #include "util/macros.h" -- 2.54.0