Fix windows compilation warnings.

svn:r1449
This commit is contained in:
Nick Mathewson 2009-10-21 02:14:16 +00:00
parent e1c9b84ae6
commit 5082546682
2 changed files with 2 additions and 1 deletions

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

View File

@ -28,6 +28,7 @@
#ifdef WIN32
#include <winsock2.h>
#include <windows.h>
#include <ws2tcpip.h>
#endif
#ifdef HAVE_CONFIG_H