Added missing #include <cstdio>

For snprintf, for compatibility with GCC 13.
Fixes #312 - thanks @marxin !
This commit is contained in:
Adam Sawicki 2023-01-19 13:19:55 +01:00
parent 8b87b6cbf7
commit 29d492b60c

View File

@ -2614,6 +2614,10 @@ VMA_CALL_PRE void VMA_CALL_POST vmaFreeStatsString(
#include <bit> // For std::popcount #include <bit> // For std::popcount
#endif #endif
#if VMA_STATS_STRING_ENABLED
#include <cstdio> // For snprintf
#endif
/******************************************************************************* /*******************************************************************************
CONFIGURATION SECTION CONFIGURATION SECTION