]> granicus.if.org Git - libevent/commitdiff
Fix windows compilation warnings.
authorNick Mathewson <nickm@torproject.org>
Wed, 21 Oct 2009 02:14:16 +0000 (02:14 +0000)
committerNick Mathewson <nickm@torproject.org>
Wed, 21 Oct 2009 02:14:16 +0000 (02:14 +0000)
svn:r1449

http-internal.h
test/regress_dns.c

index b81f198518c5c8dbce9fe29ac58265a4385d839a..5567e179a757b08613af413f97e3c023da924388 100644 (file)
@@ -145,7 +145,7 @@ int evhttp_connection_connect(struct evhttp_connection *);
 void evhttp_connection_fail(struct evhttp_connection *,
     enum evhttp_connection_error error);
 
-void evhttp_get_request(struct evhttp *, evutil_socket_t, struct sockaddr *, socklen_t);
+void evhttp_get_request(struct evhttp *, evutil_socket_t, struct sockaddr *, ev_socklen_t);
 
 enum message_read_status;
 
index 6b0cb91e28d8d7e53c3e196f951310d4667d1eae..5e6aa915e2dea76e2132032c3a212cdfc1b9f4e2 100644 (file)
@@ -28,6 +28,7 @@
 #ifdef WIN32
 #include <winsock2.h>
 #include <windows.h>
+#include <ws2tcpip.h>
 #endif
 
 #ifdef HAVE_CONFIG_H