diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 24199aca27..185d3ebb9e 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -188,7 +188,7 @@ bool wxGetFullHostName(wxChar *buf, int maxSize) if ( pHostEnt ) { // Windows will use DNS internally now - pHostEnt = gethostbyaddr(pHostEnt->h_addr, 4, PF_INET); + pHostEnt = gethostbyaddr(pHostEnt->h_addr, 4, AF_INET); } if ( pHostEnt )