summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2009-06-01 06:41:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-06-01 07:20:57 (GMT)
commit28a559c0b5aa5bd0d318e06295719b9e677d5035 (patch)
treed0c45b8cfc7ca0ef5845171d48887c1ef8aec637 /compat
parentd9b26333854ce72a05cd077638c41a332f79c779 (diff)
downloadgit-28a559c0b5aa5bd0d318e06295719b9e677d5035.zip
git-28a559c0b5aa5bd0d318e06295719b9e677d5035.tar.gz
git-28a559c0b5aa5bd0d318e06295719b9e677d5035.tar.bz2
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 e190fdd..12d0c2f 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;