MinGW: fix warning about implicit declaration of _getch()
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 1 Jun 2009 06:41:45 +0000 (08:41 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Jun 2009 07:20:57 +0000 (00:20 -0700)
conio.h provides the declaration.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.c

index e190fddf41d6b15d9254859fca8b638ed7c0f428..12d0c2fd8d1edd54e381fbd670a5ee8d34da286f 100644 (file)
@@ -1,5 +1,6 @@
 #include "../git-compat-util.h"
 #include "win32.h"
+#include <conio.h>
 #include "../strbuf.h"
 
 unsigned int _CRT_fmode = _O_BINARY;