aboutsummaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dns.c')
-rw-r--r--src/or/dns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index ba34b406b9..8d00d23eee 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -14,9 +14,11 @@
#include "or.h"
#include "ht.h"
#ifdef HAVE_EVENT2_DNS_H
+#include <event2/event.h>
#include <event2/dns.h>
#include <event2/dns_compat.h>
#else
+#include <event.h>
#include "eventdns.h"
#ifndef HAVE_EVDNS_SET_DEFAULT_OUTGOING_BIND_ADDRESS
#define HAVE_EVDNS_SET_DEFAULT_OUTGOING_BIND_ADDRESS