Merge pull request #13819 from jbeich/freebsd

Unbreak build on FreeBSD
This commit is contained in:
Unknown W. Brackets 2020-12-27 01:36:06 -05:00 committed by GitHub
commit f856d524d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View File

@ -26,6 +26,11 @@
#include <cstring>
#include <string>
#ifndef MAP_NORESERVE
// Not implemented on BSDs
#define MAP_NORESERVE 0
#endif
#include "Common/Log.h"
#include "Common/File/FileUtil.h"
#include "Common/MemoryUtil.h"

View File

@ -20,6 +20,7 @@
#include <vector>
#include <string>
#include <cstring>
#include <ctime>
#include "Common.h"
#include "Core/HLE/sceKernel.h"

View File

@ -17,7 +17,7 @@
#include "Instance.h"
#if __linux__ || __APPLE__
#if !PPSSPP_PLATFORM(WINDOWS) && !PPSSPP_PLATFORM(ANDROID) && !defined(__LIBRETRO__)
#include <unistd.h>
#include <sys/types.h>
#include <sys/mman.h>