Merge pull request #197 from Arkshine/fix/osx-compilation-free
Fix OSX compilation
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user