----- Original Message ----- From: "Vincent Torri"
Indeed, WinSock2.h is included only with vc++.
No - winsock2.h is included with mingw, too.
To fix that, line 90 must be replaced by #ifdef _WIN32
That would be line 90 of include/libssh2.h which I also had to similarly alter ? (I #ifdef'd WIN32 rather than _WIN32, but I don't think that matters.)
Cheers, Rob _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel