From 3d8161051a92bf17ec3e4a0ce0780ab81d6f0893 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Fri, 1 Jan 2010 20:16:53 -0500 Subject: [PATCH] Move dmalloc.h inclusion to where it doesn't interfere with system headers. SVN-Revision: 1788 --- libarchive/test/test.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libarchive/test/test.h b/libarchive/test/test.h index 9c60824cc..40c31e13d 100644 --- a/libarchive/test/test.h +++ b/libarchive/test/test.h @@ -48,9 +48,6 @@ #include /* Windows requires this before sys/stat.h */ #include -#ifdef USE_DMALLOC -#include -#endif #if HAVE_DIRENT_H #include #endif @@ -299,3 +296,7 @@ int read_open_memory2(struct archive *, void *, size_t, size_t); assertion_equal_int(__FILE__, __LINE__, (v1), #v1, (v2), #v2, (a)) #define assertEqualStringA(a,v1,v2) \ assertion_equal_string(__FILE__, __LINE__, (v1), #v1, (v2), #v2, (a)) + +#ifdef USE_DMALLOC +#include +#endif -- 2.47.3