diff options
author | fluffypony <ric@spagni.net> | 2014-09-02 12:08:27 +0200 |
---|---|---|
committer | fluffypony <ric@spagni.net> | 2014-09-02 12:08:27 +0200 |
commit | f8025cada9e6a6089ad2b35cd5c3aea632882804 (patch) | |
tree | 3c69bfe31de4b6e87973890d8bce5396897a48ca /src/crypto/oaes_lib.c | |
parent | readme -> markdown (diff) | |
download | monero-f8025cada9e6a6089ad2b35cd5c3aea632882804.tar.xz |
fixed OS X malloc.h reference
Diffstat (limited to 'src/crypto/oaes_lib.c')
-rw-r--r-- | src/crypto/oaes_lib.c | 5 |
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 |