From: Nick Mathewson Date: Wed, 21 Oct 2009 02:14:16 +0000 (+0000) Subject: Fix windows compilation warnings. X-Git-Tag: release-2.0.3-alpha~95 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=50825466821c87f55a7549df47086f7412a5a726;p=libevent Fix windows compilation warnings. svn:r1449 --- diff --git a/http-internal.h b/http-internal.h index b81f1985..5567e179 100644 --- a/http-internal.h +++ b/http-internal.h @@ -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; diff --git a/test/regress_dns.c b/test/regress_dns.c index 6b0cb91e..5e6aa915 100644 --- a/test/regress_dns.c +++ b/test/regress_dns.c @@ -28,6 +28,7 @@ #ifdef WIN32 #include #include +#include #endif #ifdef HAVE_CONFIG_H