mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-11 03:51:31 +02:00
Include unistd.h in memtools.cpp to fix nopch
Fixes falling back to generic on non-windows builds with PCH disabled leading to runtime crashes and the pagefault test failing. Thanks to HdkR!
This commit is contained in:
parent
e955a3a191
commit
6eb6fa9bf8
@ -21,6 +21,9 @@
|
||||
#ifdef __FreeBSD__
|
||||
#include <signal.h>
|
||||
#endif
|
||||
#ifndef _WIN32
|
||||
#include <unistd.h> // Needed for _POSIX_VERSION
|
||||
#endif
|
||||
|
||||
namespace EMM
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user