summaryrefslogtreecommitdiff
path: root/src/daemon/memorypool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/memorypool.c')
-rw-r--r--src/daemon/memorypool.c5
1 files changed, 5 insertions, 0 deletions
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
{