diff --git a/include/ws2def.h b/include/ws2def.h index 5ea8ff337c4..cbd6f741fce 100644 --- a/include/ws2def.h +++ b/include/ws2def.h @@ -115,11 +115,11 @@ typedef struct addrinfoexA { int ai_family; int ai_socktype; int ai_protocol; - size_t ai_addrlen; + SIZE_T ai_addrlen; char *ai_canonname; - struct sockaddr *ai_addr; + struct WS(sockaddr) *ai_addr; void *ai_blob; - size_t ai_bloblen; + SIZE_T ai_bloblen; GUID *ai_provider; struct addrinfoexA *ai_next; } ADDRINFOEXA, *PADDRINFOEXA, *LPADDRINFOEXA; @@ -129,11 +129,11 @@ typedef struct addrinfoexW { int ai_family; int ai_socktype; int ai_protocol; - size_t ai_addrlen; + SIZE_T ai_addrlen; WCHAR *ai_canonname; - struct sockaddr *ai_addr; + struct WS(sockaddr) *ai_addr; void *ai_blob; - size_t ai_bloblen; + SIZE_T ai_bloblen; GUID *ai_provider; struct addrinfoexW *ai_next; } ADDRINFOEXW, *PADDRINFOEXW, *LPADDRINFOEXW;