Skip to content

Commit 28a559c

Browse files
dschogitster
authored andcommitted
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>
1 parent d9b2633 commit 28a559c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

compat/mingw.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "../git-compat-util.h"
22
#include "win32.h"
3+
#include <conio.h>
34
#include "../strbuf.h"
45

56
unsigned int _CRT_fmode = _O_BINARY;

0 commit comments

Comments
 (0)