aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-12-15 14:36:35 +0200
committerRiccardo Spagni <ric@spagni.net>2016-12-15 14:36:35 +0200
commit29735c8f8fda032833924285c2da7ea9b15a77c7 (patch)
tree6be858f3fd0b29be74c87ba37e3512f3a4808acf /tests/unit_tests
parentMerge pull request #1458 (diff)
parentPreliminary support for DragonFly BSD (diff)
downloadmonero-29735c8f8fda032833924285c2da7ea9b15a77c7.tar.xz
Merge pull request #1459
b00da61e Preliminary support for DragonFly BSD (Antonio Huete Jimenez)
Diffstat (limited to 'tests/unit_tests')
-rw-r--r--tests/unit_tests/slow_memmem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit_tests/slow_memmem.cpp b/tests/unit_tests/slow_memmem.cpp
index a14e01885..d36b9f532 100644
--- a/tests/unit_tests/slow_memmem.cpp
+++ b/tests/unit_tests/slow_memmem.cpp
@@ -36,7 +36,8 @@
#include "gtest/gtest.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