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…
Reference in New Issue