Fix OSX compilation

This commit is contained in:
Arkshine 2015-02-06 22:08:32 +01:00
parent 2dc1982e11
commit 7d6705345d

View File

@ -35,6 +35,7 @@
#if defined(__linux__) || defined(__APPLE__) #if defined(__linux__) || defined(__APPLE__)
#include <sys/mman.h> #include <sys/mman.h>
#include <unistd.h> #include <unistd.h>
#include <stdlib.h>
#ifndef PAGE_SIZE #ifndef PAGE_SIZE
#define PAGE_SIZE 4096 #define PAGE_SIZE 4096
#endif #endif