From 036d4ab012c44943cf1bd35ccf1b6ee1c209d8ab Mon Sep 17 00:00:00 2001 From: Kbz-8 Date: Mon, 16 Sep 2024 15:39:28 +0200 Subject: [PATCH] fixing macos compilation error --- Kanel/Runtime/Sources/Modules/GPU/Vulkan/VulkanLoader.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Kanel/Runtime/Sources/Modules/GPU/Vulkan/VulkanLoader.c b/Kanel/Runtime/Sources/Modules/GPU/Vulkan/VulkanLoader.c index 4716ad6..74c04f8 100644 --- a/Kanel/Runtime/Sources/Modules/GPU/Vulkan/VulkanLoader.c +++ b/Kanel/Runtime/Sources/Modules/GPU/Vulkan/VulkanLoader.c @@ -7,6 +7,11 @@ #include #include + +#ifdef KANEL_CLI_PLAT_MACOS + #include // getenv +#endif + static KbhLibModule __kbh_vulkan_lib_module = KBH_NULL_LIB_MODULE; static void kbhVulkanLoadGlobalFunctions(void* context, PFN_vkVoidFunction (*load)(void*, const char*));