aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/oaes_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/oaes_lib.c')
-rw-r--r--src/crypto/oaes_lib.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/crypto/oaes_lib.c b/src/crypto/oaes_lib.c
index f3f2aac8c..81c8aeff2 100644
--- a/src/crypto/oaes_lib.c
+++ b/src/crypto/oaes_lib.c
@@ -34,11 +34,14 @@ static const char _NR[] = {
#include <stddef.h>
#include <time.h>
#include <sys/timeb.h>
-#include <malloc.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
+#ifndef __APPLE__
+#include <malloc.h>
+#endif
+
#ifdef WIN32
#include <process.h>
#else