diff --git a/src/daemon/memorypool.c b/src/daemon/memorypool.c index fa0b4d6b..4a183bcb 100644 --- a/src/daemon/memorypool.c +++ b/src/daemon/memorypool.c @@ -25,6 +25,11 @@ #include "memorypool.h" +// define MAP_ANONYMOUS for Mac OS X +#if defined(MAP_ANON) && !defined(MAP_ANONYMOUS) +#define MAP_ANONYMOUS MAP_ANON +#endif + struct MemoryPool {