Source/Core/Core/DSP/DSPTables.cpp: include <cstdio> for sprintf
Without included header build fails on gcc-10 as: ``` [ 52%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/DSP/DSPTables.cpp.o ../../../../Source/Core/Core/DSP/DSPTables.cpp: In function 'const char* DSP::pdname(u16)': ../../../../Source/Core/Core/DSP/DSPTables.cpp:492:3: error: 'sprintf' was not declared in this scope 492 | sprintf(tmpstr, "0x%04x", val); | ^~~~~~~ ``` Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
parent
0478ce72f5
commit
879e8364af
|
@ -9,6 +9,7 @@
|
|||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cstddef>
|
||||
#include <cstdio>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/Logging/Log.h"
|
||||
|
|
Loading…
Reference in New Issue