[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 8df35a0c882d34415b1505a130cbd7a5c0424035
Author: Anthony G. Basile <blueness@xxxxxxxxxx>
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;

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits