mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
Fix windows compilation warnings.
svn:r1449
This commit is contained in:
parent
e1c9b84ae6
commit
5082546682
@ -145,7 +145,7 @@ int evhttp_connection_connect(struct evhttp_connection *);
|
|||||||
void evhttp_connection_fail(struct evhttp_connection *,
|
void evhttp_connection_fail(struct evhttp_connection *,
|
||||||
enum evhttp_connection_error error);
|
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;
|
enum message_read_status;
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#include <ws2tcpip.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user