diff --git a/Core/MemMap.cpp b/Core/MemMap.cpp index 684d162b5e4e..fa1e3d96b5c9 100644 --- a/Core/MemMap.cpp +++ b/Core/MemMap.cpp @@ -29,6 +29,12 @@ #include "Common/MemArena.h" #include "Common/ChunkFile.h" +#ifdef __FreeBSD__ +#include +#endif +#ifndef _WIN32 +#include // Needed for _POSIX_VERSION +#endif #if PPSSPP_ARCH(AMD64) || PPSSPP_ARCH(X86) #include "Common/MachineContext.h"