From 50825466821c87f55a7549df47086f7412a5a726 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 21 Oct 2009 02:14:16 +0000 Subject: [PATCH] Fix windows compilation warnings. svn:r1449 --- http-internal.h | 2 +- test/regress_dns.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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