summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2009-06-01 08:41:45 +0200
committerJunio C Hamano <gitster@pobox.com>2009-06-01 00:20:57 -0700
commit28a559c0b5aa5bd0d318e06295719b9e677d5035 (patch)
treed0c45b8cfc7ca0ef5845171d48887c1ef8aec637 /compat
parentd9b26333854ce72a05cd077638c41a332f79c779 (diff)
downloadgit-28a559c0b5aa5bd0d318e06295719b9e677d5035.tar.gz
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>
Diffstat (limited to 'compat')
-rw-r--r--compat/mingw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/mingw.c b/compat/mingw.c
index e190fddf41..12d0c2fd8d 100644
--- a/compat/mingw.c
+++ b/compat/mingw.c
@@ -1,5 +1,6 @@
#include "../git-compat-util.h"
#include "win32.h"
+#include <conio.h>
#include "../strbuf.h"
unsigned int _CRT_fmode = _O_BINARY;