diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2016-07-03 19:42:36 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2016-07-04 12:40:09 +0200 |
commit | 265e40b481d23ea0ee8b4e1705fb013532d1f6b2 (patch) | |
tree | 9a2bdf42de2c95cbbbe861078887a684b5d91b38 /src/or/dnsserv.c | |
parent | ec6ea66240df36d2a6bb6d4fd0df6f4c2cdb3191 (diff) | |
download | tor-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/dnsserv.c')
-rw-r--r-- | src/or/dnsserv.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/or/dnsserv.c b/src/or/dnsserv.c index edca50f6f9..6aab1e2c36 100644 --- a/src/or/dnsserv.c +++ b/src/or/dnsserv.c @@ -17,14 +17,10 @@ #include "control.h" #include "main.h" #include "policies.h" -#ifdef HAVE_EVENT2_DNS_H #include <event2/dns.h> #include <event2/dns_compat.h> /* XXXX this implies we want an improved evdns */ #include <event2/dns_struct.h> -#else -#include "eventdns.h" -#endif /** Helper function: called by evdns whenever the client sends a request to our * DNSPort. We need to eventually answer the request <b>req</b>. |