diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2012-03-19 13:00:51 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2012-03-19 13:00:51 +0000 |
commit | 1ecdfbe3b855b1f13bcddccc20135f7e35f171a6 (patch) | |
tree | 253b431bc06ce806ee47aa7b7c4285da8c5503d6 /src/htsbasenet.h | |
parent | 4aec03f2cbabc19cf31e7d6f9fdcd6c84cfa861e (diff) |
httrack 3.43.12
Diffstat (limited to 'src/htsbasenet.h')
-rw-r--r-- | src/htsbasenet.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/htsbasenet.h b/src/htsbasenet.h index 26f1392..d717654 100644 --- a/src/htsbasenet.h +++ b/src/htsbasenet.h @@ -47,9 +47,15 @@ Please visit our Website: http://www.httrack.com #ifndef _WIN32_WCE #undef HTS_USESCOPEID #define WIN32_LEAN_AND_MEAN -#include <winsock2.h> +// KB955045 (http://support.microsoft.com/kb/955045) +// To execute an application using this function on earlier versions of Windows +// (Windows 2000, Windows NT, and Windows Me/98/95), then it is mandatary to #include Ws2tcpip.h +// and also Wspiapi.h. When the Wspiapi.h header file is included, the 'getaddrinfo' function is +// #defined to the 'WspiapiGetAddrInfo' inline function in Wspiapi.h. #include <ws2tcpip.h> -#include <tpipv6.h> +#include <Wspiapi.h> +//#include <winsock2.h> +//#include <tpipv6.h> #else #include <winsock2.h> #include <socket.h> |