mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Add string.h include in file_score.cpp
src/game/server/score/file_score.cpp: In member function ‘CFileScore::CPlayerScore* CFileScore::SearchName(const char*, int*, bool)’: src/game/server/score/file_score.cpp:169:9: error: ‘strcmp’ was not declared in this scope 169 | if (!strcmp(r.front().m_aName, pName)) | ^~~~~~ src/game/server/score/file_score.cpp:12:1: note: ‘strcmp’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’? 11 | #include <engine/shared/console.h> +++ |+#include <cstring> 12 |¬
This commit is contained in:
parent
fbbf7b3929
commit
354541a146
|
@ -6,6 +6,7 @@
|
|||
#include <engine/shared/config.h>
|
||||
#include <sstream>
|
||||
#include <fstream>
|
||||
#include <string.h>
|
||||
#include "../gamemodes/DDRace.h"
|
||||
#include "file_score.h"
|
||||
#include <engine/shared/console.h>
|
||||
|
|
Loading…
Reference in a new issue