summaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2016-07-03 19:42:36 +0200
committerSebastian Hahn <sebastian@torproject.org>2016-07-04 12:40:09 +0200
commit265e40b481d23ea0ee8b4e1705fb013532d1f6b2 (patch)
tree9a2bdf42de2c95cbbbe861078887a684b5d91b38 /src/or/cpuworker.c
parentec6ea66240df36d2a6bb6d4fd0df6f4c2cdb3191 (diff)
downloadtor-265e40b481d23ea0ee8b4e1705fb013532d1f6b2.tar.gz
tor-265e40b481d23ea0ee8b4e1705fb013532d1f6b2.zip
Raise libevent dependency to 2.0.10-stable or newer
Only some very ancient distributions don't ship with Libevent 2 anymore, even the oldest supported Ubuntu LTS version has it. This allows us to get rid of a lot of compat code.
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r--src/or/cpuworker.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index 3109d5a177..2e76ea5b78 100644
--- a/src/or/cpuworker.c
+++ b/src/or/cpuworker.c
@@ -23,11 +23,7 @@
#include "router.h"
#include "workqueue.h"
-#ifdef HAVE_EVENT2_EVENT_H
#include <event2/event.h>
-#else
-#include <event.h>
-#endif
static void queue_pending_tasks(void);