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 <[email protected]> Signed-off-by: Steffen Prohaska <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d9b2633 commit 28a559c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)