From 4212a135e1c092a16fc1c4d783495e44d48bbaf9 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 29 Jun 2018 11:35:49 -0400 Subject: Remove util.h and compat.h includes from src/common --- src/common/compat_libevent.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/common/compat_libevent.h') 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) */ - -- cgit v1.2.3-54-g00ecf