summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2010-08-16 00:00:13 -0400
committerNick Mathewson <nickm@torproject.org>2010-08-16 00:14:06 -0400
commit15379a7254a5d17ab9a2057435a6daa9c08ae880 (patch)
tree294987980a8ff2cd2c824ed3b093b27d9c6839f9 /src/test
parent4c948ffd6c34bc60dc9b3bf66226ae179a2d0752 (diff)
downloadtor-15379a7254a5d17ab9a2057435a6daa9c08ae880.tar.gz
tor-15379a7254a5d17ab9a2057435a6daa9c08ae880.zip
Fix compilation with --with-dmalloc
Fixes 1832; bugfix on 0.2.2.6-alpha
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test.c b/src/test/test.c
index 5a37f1da8d..4a34fd9ac4 100644
--- a/src/test/test.c
+++ b/src/test/test.c
@@ -61,6 +61,7 @@ double fabs(double x);
#ifdef USE_DMALLOC
#include <dmalloc.h>
#include <openssl/crypto.h>
+#include "main.h"
#endif
/** Set to true if any unit test has failed. Mostly, this is set by the macros