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:
Sergei Trofimovich 2020-03-05 21:06:27 +00:00
parent 0478ce72f5
commit 879e8364af
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@
#include <algorithm>
#include <array>
#include <cstddef>
#include <cstdio>
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"