From: Steffen Prohaska Date: Mon, 01 Jun 2009 06:41:45 GMT Subject: [PATCH 05/11 v2] MinGW: fix warning about implicit declaration of _getch() Message-ID: <1243838505-27641-1-git-send-email-prohaska@zib.de> In-Reply-To: <200905312152.11434.j6t@kdbg.org> From: Johannes Schindelin conio.h provides the declaration. Signed-off-by: Johannes Schindelin Signed-off-by: Steffen Prohaska --- compat/mingw.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) This replaces 05/11. The original commit messages was misleading. Apparently, the original 05/11 solved two things. First, it fixed a warning in winansi.c, which has been squashed into 03/11. Second, it fixed a warning about implict decl of _getch(). Including conio.h in mingw.c is sufficient to fix this warning. diff --git a/compat/mingw.c b/compat/mingw.c index e190fdd..12d0c2f 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -1,5 +1,6 @@ #include "../git-compat-util.h" #include "win32.h" +#include #include "../strbuf.h" unsigned int _CRT_fmode = _O_BINARY; -- 1.6.3.1.54.g99dd