aboutsummaryrefslogtreecommitdiff
path: root/src/crypto
diff options
context:
space:
mode:
authorfluffypony <ric@spagni.net>2014-09-09 14:07:57 +0200
committerfluffypony <ric@spagni.net>2014-09-09 14:07:57 +0200
commite1d31e0a8b59fd74829f790e97c75e7a530b86df (patch)
treefd7dd2cb82d40124737c754020ef83033d6db3aa /src/crypto
parentexclude local miniupnpc for FreeBSD, install from ports instead (diff)
downloadmonero-e1d31e0a8b59fd74829f790e97c75e7a530b86df.tar.xz
malloc.h reference fixed for FreeBSD
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/oaes_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/oaes_lib.c b/src/crypto/oaes_lib.c
index 81c8aeff2..1dce99edd 100644
--- a/src/crypto/oaes_lib.c
+++ b/src/crypto/oaes_lib.c
@@ -38,8 +38,8 @@ static const char _NR[] = {
#include <stdlib.h>
#include <stdio.h>
-#ifndef __APPLE__
-#include <malloc.h>
+#ifndef __APPLE__ || __FREEBSD__
+ #include <malloc.h>
#endif
#ifdef WIN32