summaryrefslogtreecommitdiff
path: root/src/or/eventdns.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-12-18 03:02:30 +0000
committerNick Mathewson <nickm@torproject.org>2006-12-18 03:02:30 +0000
commit973baa1673192780e453f943c84aeeb7612d9108 (patch)
tree22e3275f85ead3b7be2cc89c62a575272895e0ab /src/or/eventdns.c
parent952b34d610bdcbe56b25a3af734a0ae32f9f10e7 (diff)
downloadtor-973baa1673192780e453f943c84aeeb7612d9108.tar.gz
tor-973baa1673192780e453f943c84aeeb7612d9108.zip
r11630@Kushana: nickm | 2006-12-17 22:02:24 -0500
Add a typedef to (try to) make eventdns work on mingw. Man, I need a buildbot for this. svn:r9147
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 019f0bbbe0..68a2f6c203 100644
--- a/src/or/eventdns.c
+++ b/src/or/eventdns.c
@@ -96,6 +96,10 @@
#include <arpa/inet.h>
#endif
+#ifdef WIN32
+typedef int socklen_t;
+#endif
+
#define EVDNS_LOG_DEBUG 0
#define EVDNS_LOG_WARN 1