mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00: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
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@
|
|||
#ifdef __FreeBSD__
|
||||
#include <signal.h>
|
||||
#endif
|
||||
#ifndef _WIN32
|
||||
#include <unistd.h> // Needed for _POSIX_VERSION
|
||||
#endif
|
||||
|
||||
namespace EMM
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue