Hi all, I've just uploaded the complete diff: http://www.gknw.net/test/libssh2/libssh2-cvs-20070410.diff and also removed the obsolete one.
Find below the single patches with reason/log: http://www.gknw.net/test/libssh2/channel.c.diff changed to configure defines to control inclusion of headers from libssh2_config.h. http://www.gknw.net/test/libssh2/misc.c.diff changed to configure defines to control inclusion of headers from libssh2_config.h. http://www.gknw.net/test/libssh2/packet.c.diff changed to configure defines to control inclusion of headers from libssh2_config.h. http://www.gknw.net/test/libssh2/session.c.diff Win32 has no ENOTCONN - I checked MSVC6, MingW32, Borland C++ 5.5, OpenWatcom 1.6; all have this define in winsock2.h but blocked with '#if 0', but a comment that the WSA* defines should be used instead, and that's what my patch does. changed to configure defines to control inclusion of headers from libssh2_config.h. http://www.gknw.net/test/libssh2/transport.c.diff fixed a wrong type. http://www.gknw.net/test/libssh2/libssh2_priv.h.diff changed to configure defines to control inclusion of headers from libssh2_config.h. http://www.gknw.net/test/libssh2/Makefile.netware.diff updated Makefile.netware to add more exports; fixed linking. http://www.gknw.net/test/libssh2/Makefile.win32.diff updated OpenSSL version to have users use latest; removed HAVE_IOCTLSOCKET define. http://www.gknw.net/test/libssh2/win32__libssh2_config.h.diff added the new defines for inclusion of headers; removed ENOTCONN define, added HAVE_IOCTLSOCKET define. http://www.gknw.net/test/libssh2/libssh2.h.diff added two more typedefs but blocked them so they are only used with MSVC6 or lower (dont know if later MSVC versions still need them). http://www.gknw.net/test/libssh2/libssh2_sftp.h.diff blocked unistd.h inclusion for WIN32 builds. http://www.gknw.net/test/libssh2/configure.in.diff test for additional headers to bring the new defines into libssh2_config.h. tested: for NetWare platform with gcc and Metrowerks CodeWarrior, for Win32 platform with MingW32 and MSVC6, for Linux platform on SuSE 10.0 with gcc 4.0.2. also now tested build with cURL for NetWare and Win32, and no further probs found so far... thanks, Guenter. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel