[tor-commits] [tor/master] src/common/compat_libevent.h: include testsupport.h

nickm at torproject.org nickm at torproject.org
Mon Jan 12 06:04:37 UTC 2015


commit 8df35a0c882d34415b1505a130cbd7a5c0424035
Author: Anthony G. Basile <blueness at gentoo.org>
Date:   Thu Jan 8 12:11:28 2015 -0500

    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.
---
 src/common/compat_libevent.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/common/compat_libevent.h b/src/common/compat_libevent.h
index 69259e7..6bbfae0 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;



More information about the tor-commits mailing list