diff --git a/thirdparty/vulkan/vk_mem_alloc.h b/thirdparty/vulkan/vk_mem_alloc.h index 711f486571..e5eaa80e74 100644 --- a/thirdparty/vulkan/vk_mem_alloc.h +++ b/thirdparty/vulkan/vk_mem_alloc.h @@ -127,7 +127,11 @@ See documentation chapter: \ref statistics. extern "C" { #endif -#include +#ifdef USE_VOLK + #include +#else + #include +#endif #if !defined(VMA_VULKAN_VERSION) #if defined(VK_VERSION_1_3)