summaryrefslogtreecommitdiff
path: root/src/or/eventdns.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-01-05 22:12:15 +0000
committerNick Mathewson <nickm@torproject.org>2007-01-05 22:12:15 +0000
commit135aed567096cf45e64bea34326469c41daec67c (patch)
tree602f6ee430650544b076a2af3f37549740bd0366 /src/or/eventdns.c
parent48a9fe4bbd82b30cacffa7211db4dd76ac398c21 (diff)
downloadtor-135aed567096cf45e64bea34326469c41daec67c.tar.gz
tor-135aed567096cf45e64bea34326469c41daec67c.zip
r11850@Kushana: nickm | 2007-01-05 17:12:08 -0500
Look in netinet/in6.h header when looking for struct in6_addr. (Issue found by saeftl.) svn:r9272
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