[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r9147: Add a typedef to (try to) make eventdns work on mingw. Man, (in tor/trunk: . src/or)



Author: nickm
Date: 2006-12-17 22:02:30 -0500 (Sun, 17 Dec 2006)
New Revision: 9147

Modified:
   tor/trunk/
   tor/trunk/src/or/eventdns.c
Log:
 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.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r11630] on c95137ef-5f19-0410-b913-86e773d04f59

Modified: tor/trunk/src/or/eventdns.c
===================================================================
--- tor/trunk/src/or/eventdns.c	2006-12-17 16:37:46 UTC (rev 9146)
+++ tor/trunk/src/or/eventdns.c	2006-12-18 03:02:30 UTC (rev 9147)
@@ -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