aboutsummaryrefslogtreecommitdiff
path: root/generic/OverlapMan.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/OverlapMan.c')
-rw-r--r--generic/OverlapMan.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/OverlapMan.c b/generic/OverlapMan.c
index 29f872f..a57dea9 100644
--- a/generic/OverlapMan.c
+++ b/generic/OverlapMan.c
@@ -40,7 +40,11 @@ static const char compile_id[]="$Compile: " __FILE__ " " __DATE__ " " __TIME__ "
#include "OverlapMan.h"
+#if defined(__APPLE__)
+#include <stdlib.h>
+#else
#include "malloc.h"
+#endif
#include "private.h"
#include <stdio.h>