summaryrefslogtreecommitdiff
path: root/src/or/eventdns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/eventdns.c')
-rw-r--r--src/or/eventdns.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/eventdns.c b/src/or/eventdns.c
index cd5b386c07..97ee71bdb3 100644
--- a/src/or/eventdns.c
+++ b/src/or/eventdns.c
@@ -96,6 +96,10 @@
#include <arpa/inet.h>
#endif
+#ifdef HAVE_NETINET_IN6_H
+#include <netinet/in6.h>
+#endif
+
#ifdef WIN32
typedef int socklen_t;
#endif