From: Anthony G. Basile Date: Thu, 8 Jan 2015 17:11:28 +0000 (-0500) Subject: src/common/compat_libevent.h: include testsupport.h X-Git-Tag: tor-0.2.6.3-alpha~169 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8df35a0c882d34415b1505a130cbd7a5c0424035;p=thirdparty%2Ftor.git 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. --- 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;