summaryrefslogtreecommitdiff
path: root/src/common/compat_libevent.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-29 11:35:49 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-29 12:21:52 -0400
commit4212a135e1c092a16fc1c4d783495e44d48bbaf9 (patch)
tree5be975b2bf77325a9386fd930e66d35183472190 /src/common/compat_libevent.h
parent35e1c497aa54a22818552c9f3757067e381bb6bb (diff)
downloadtor-4212a135e1c092a16fc1c4d783495e44d48bbaf9.tar.gz
tor-4212a135e1c092a16fc1c4d783495e44d48bbaf9.zip
Remove util.h and compat.h includes from src/common
Diffstat (limited to 'src/common/compat_libevent.h')
-rw-r--r--src/common/compat_libevent.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/compat_libevent.h b/src/common/compat_libevent.h
index 4b2672b7b5..0a50cfa667 100644
--- a/src/common/compat_libevent.h
+++ b/src/common/compat_libevent.h
@@ -6,6 +6,7 @@
#include "orconfig.h"
#include "lib/testsupport/testsupport.h"
+#include "lib/malloc/util_malloc.h"
void configure_libevent_logging(void);
void suppress_libevent_log_msg(const char *msg);
@@ -19,6 +20,7 @@ void suppress_libevent_log_msg(const char *msg);
struct event;
struct event_base;
+struct timeval;
void tor_event_free_(struct event *ev);
#define tor_event_free(ev) \
@@ -95,4 +97,3 @@ libevent_logging_callback(int severity, const char *msg);
#endif /* defined(COMPAT_LIBEVENT_PRIVATE) */
#endif /* !defined(TOR_COMPAT_LIBEVENT_H) */
-