OSDN Git Service

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 e190fdd..12d0c2f 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;