Merge pull request #197 from Arkshine/fix/osx-compilation-free

Fix OSX compilation
This commit is contained in:
Vincent Herbet 2015-02-06 22:10:43 +01:00
commit 21edabf07f

View File

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