aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluffypony <ric@spagni.net>2014-09-02 12:08:27 +0200
committerfluffypony <ric@spagni.net>2014-09-02 12:08:27 +0200
commitf8025cada9e6a6089ad2b35cd5c3aea632882804 (patch)
tree3c69bfe31de4b6e87973890d8bce5396897a48ca
parentreadme -> markdown (diff)
downloadmonero-f8025cada9e6a6089ad2b35cd5c3aea632882804.tar.xz
fixed OS X malloc.h reference
-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