Fixed missing include in psyfork/memoryutils.cpp
Error: MemoryUtils.cpp: In member function ‘void* MemoryUtils::ResolveSymbol(void*, const char*)’: MemoryUtils.cpp:249:43: error: ‘fstat’ was not declared in this scope if (dlfile == -1 || fstat(dlfile, &dlstat) == -1) Fixed by adding missing include: #include <sys/stat.h>
This commit is contained in:
parent
637471ef29
commit
f7f4ea4243
@ -32,6 +32,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <link.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#define PAGE_SIZE 4096
|
||||
#define PAGE_ALIGN_UP(x) ((x + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1))
|
||||
|
Loading…
Reference in New Issue
Block a user