MinGW: fix warning about implicit declaration of _getch()
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>
Johannes Schindelin committed
Jun 1, 2009 at 08:41 UTC
28a559c0b5aa5bd0d318e06295719b9e677d5035
1 file changed
+1
compat/mingw.c
+1
@@ -1,5 +1,6 @@
1
#include "../git-compat-util.h"
2
#include "win32.h"
3
+#include <conio.h>
4
#include "../strbuf.h"
5
6
unsigned int _CRT_fmode = _O_BINARY;