From a0e13cc8283630c2a2cb8ca2751d7608b8e40c01 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Mon, 31 Oct 2011 11:32:52 +0100 Subject: [PATCH] Correct Windows include file name case, simplifying cross-compilation When cross compiling to Windows, libssh2.h include Windows header files with upper case filenames : BaseTsd.h and WinSock2.h. These files have lowercase names with mingw-w64 (iirc, it's the same with mingw). And as on Windows, being lowercase or uppercase does not matter. --- include/libssh2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libssh2.h b/include/libssh2.h index 65182cf3..3395e6a4 100644 --- a/include/libssh2.h +++ b/include/libssh2.h @@ -88,8 +88,8 @@ extern "C" { #endif #ifdef _WIN32 -# include -# include +# include +# include #endif #include