diff --git a/include/libssh2.h b/include/libssh2.h index b4bf136e..7e131c09 100644 --- a/include/libssh2.h +++ b/include/libssh2.h @@ -66,6 +66,10 @@ extern "C" { #if defined(LIBSSH2_WIN32) && defined(_MSC_VER) && (_MSC_VER < 1300) typedef unsigned __int64 libssh2_uint64_t; typedef __int64 libssh2_int64_t; +#if (_MSC_VER <= 1200) +typedef long ssize_t; +typedef unsigned int uint32_t; +#endif #else typedef unsigned long long libssh2_uint64_t; typedef long long libssh2_int64_t;