aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/slow_memmem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit_tests/slow_memmem.cpp')
-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