aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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