aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_workqueue.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/test/test_workqueue.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/test/test_workqueue.c')
-rw-r--r--src/test/test_workqueue.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/test_workqueue.c b/src/test/test_workqueue.c
index 75d68a7ce0..ccb8d0c8ca 100644
--- a/src/test/test_workqueue.c
+++ b/src/test/test_workqueue.c
@@ -12,11 +12,7 @@
#include "compat_libevent.h"
#include <stdio.h>
-#ifdef HAVE_EVENT2_EVENT_H
#include <event2/event.h>
-#else
-#include <event.h>
-#endif
#define MAX_INFLIGHT (1<<16)