mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-27 06:21:02 +00:00
Utilities: explicitly add more includes found by GCC
Utilities/Log.cpp: In member function 'void logs::file_writer::log(logs::level, const char*, std::size_t)': Utilities/Log.cpp:559:9: error: 'memcpy' is not a member of 'std' std::memcpy(pos, text, frag); ^~~~~~ Utilities/Log.cpp:559:9: note: suggested alternative: 'empty' std::memcpy(pos, text, frag); ^~~~~~ empty Utilities/Log.cpp:560:9: error: 'memcpy' is not a member of 'std' std::memcpy(m_fptr, text + frag, size - frag); ^~~~~~ Utilities/Log.cpp:560:9: note: suggested alternative: 'empty' std::memcpy(m_fptr, text + frag, size - frag); ^~~~~~ empty Utilities/Log.cpp:564:9: error: 'memcpy' is not a member of 'std' std::memcpy(pos, text, size); ^~~~~~ Utilities/Log.cpp:564:9: note: suggested alternative: 'empty' std::memcpy(pos, text, size); ^~~~~~ empty Utilities/sync.h: In member function 'int futex(int*, int, int, const timespec*, int*, int)::futex_map::operator()(int*, int, int, const timespec*, int*, uint)': Utilities/sync.h:110:20: error: 'find' is not a member of 'std' map.erase(std::find(map.find(uaddr), map.end(), ref)); ^~~~ Utilities/sync.h:110:20: note: suggested alternative: 'rend' map.erase(std::find(map.find(uaddr), map.end(), ref)); ^~~~ rend
This commit is contained in:
parent
85fa0942e7
commit
cd6bf37d06
@ -6,6 +6,7 @@
|
||||
#include "Utilities/sysinfo.h"
|
||||
#include "Utilities/Thread.h"
|
||||
#include "rpcs3_version.h"
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <thread>
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#endif
|
||||
#include <algorithm>
|
||||
#include <ctime>
|
||||
#include <chrono>
|
||||
#include <mutex>
|
||||
|
Loading…
Reference in New Issue
Block a user