From 6a0eb2ddd764ee61f1717211f26744ea751f1712 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 16 Feb 2015 11:17:08 +0100 Subject: [PATCH] wininet: Don't include ws2tcpip.h after zlib.h. --- dlls/wininet/http.c | 4 ++-- dlls/wininet/internet.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index b878cabe233..d515d7dd638 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -30,11 +30,11 @@ #include "config.h" #ifdef HAVE_ZLIB -# define Z_SOLO # include #endif -#include "ws2tcpip.h" +#include "winsock2.h" +#include "ws2ipdef.h" #include #include diff --git a/dlls/wininet/internet.h b/dlls/wininet/internet.h index 2ad414fc550..e0baf2af5f1 100644 --- a/dlls/wininet/internet.h +++ b/dlls/wininet/internet.h @@ -37,7 +37,7 @@ typedef struct { INTERNET_PORT port; BOOL is_https; struct sockaddr_storage addr; - socklen_t addr_len; + int addr_len; char addr_str[INET6_ADDRSTRLEN]; WCHAR *scheme_host_port;