aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/oaes_lib.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/crypto/oaes_lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crypto/oaes_lib.c b/src/crypto/oaes_lib.c
index 2cf598e05..f054a16f4 100644
--- a/src/crypto/oaes_lib.c
+++ b/src/crypto/oaes_lib.c
@@ -34,7 +34,8 @@
#include <stdio.h>
// OS X, FreeBSD, and OpenBSD don't need malloc.h
-#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
+#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) \
+ && !defined(__DragonFly__)
#include <malloc.h>
#endif