summaryrefslogtreecommitdiff
path: root/thirdparty/vulkan/vk_mem_alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/vulkan/vk_mem_alloc.h')
-rw-r--r--thirdparty/vulkan/vk_mem_alloc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/thirdparty/vulkan/vk_mem_alloc.h b/thirdparty/vulkan/vk_mem_alloc.h
index 184ee005d8..ea30060649 100644
--- a/thirdparty/vulkan/vk_mem_alloc.h
+++ b/thirdparty/vulkan/vk_mem_alloc.h
@@ -2582,6 +2582,10 @@ VMA_CALL_PRE void VMA_CALL_POST vmaFreeStatsString(
#include <bit> // For std::popcount
#endif
+#if VMA_STATS_STRING_ENABLED
+ #include <cstdio> // For snprintf
+#endif
+
/*******************************************************************************
CONFIGURATION SECTION