aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-01-08 12:11:28 -0500
committerNick Mathewson <nickm@torproject.org>2015-01-12 01:03:47 -0500
commit8df35a0c882d34415b1505a130cbd7a5c0424035 (patch)
tree7979fde0b8baea9e1b3596cb3d79b7ecceb3477c /src/common
parent2d123efe7c98765fae17af747b266ea8cc0b4b5c (diff)
downloadtor-8df35a0c882d34415b1505a130cbd7a5c0424035.tar.gz
tor-8df35a0c882d34415b1505a130cbd7a5c0424035.zip
src/common/compat_libevent.h: include testsupport.h
When tor is configured with --enable-bufferevents, the build fails because compat_libevent.h makes use of the macro MOCK_DECL() which is defined in testsupport.h, but not included. We add the include.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/compat_libevent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/compat_libevent.h b/src/common/compat_libevent.h
index 69259e7ed6..6bbfae0056 100644
--- a/src/common/compat_libevent.h
+++ b/src/common/compat_libevent.h
@@ -5,6 +5,7 @@
#define TOR_COMPAT_LIBEVENT_H
#include "orconfig.h"
+#include "testsupport.h"
struct event;
struct event_base;