diff --git a/src/SFML/Main/MainAndroid.cpp b/src/SFML/Main/MainAndroid.cpp index 25696fe97..fcb85001f 100644 --- a/src/SFML/Main/MainAndroid.cpp +++ b/src/SFML/Main/MainAndroid.cpp @@ -45,6 +45,7 @@ #include #include #include +#include extern int main(int argc, char *argv[]); @@ -485,7 +486,7 @@ void ANativeActivity_onCreate(ANativeActivity* activity, void* savedState, size_ { states->savedState = malloc(savedStateSize); states->savedStateSize = savedStateSize; - memcpy(states->savedState, savedState, savedStateSize); + std::memcpy(states->savedState, savedState, savedStateSize); } states->mainOver = false;