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 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