mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 16:07:49 +08:00
16 lines
471 B
Diff
16 lines
471 B
Diff
|
diff --git a/include/vk_mem_alloc.h b/include/vk_mem_alloc.h
|
||
|
index 60f5720..31164bc 100644
|
||
|
--- a/include/vk_mem_alloc.h
|
||
|
+++ b/include/vk_mem_alloc.h
|
||
|
@@ -2578,6 +2578,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
|
||
|
|