aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2014-09-02 12:20:15 +0200
committerRiccardo Spagni <ric@spagni.net>2014-09-02 12:20:15 +0200
commit1d6372cccf87d674b24c5d389c9214096dab4c07 (patch)
tree3c69bfe31de4b6e87973890d8bce5396897a48ca
parentMerge pull request #109 from fluffypony/master (diff)
parentfixed OS X malloc.h reference (diff)
downloadmonero-1d6372cccf87d674b24c5d389c9214096dab4c07.tar.xz
Merge pull request #112 from fluffypony/master
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