compat/terminal: header-fixup
commitc4ff5decf8b35572f5a33b8f56affce0cb02e903
authorErik Faye-Lund <kusmabite@gmail.com>
Mon, 25 Jun 2012 14:13:59 +0000 (25 16:13 +0200)
committerErik Faye-Lund <kusmabite@gmail.com>
Mon, 25 Jun 2012 14:48:38 +0000 (25 16:48 +0200)
tree3e862ecc7f9c0feec8f5e068e91eaaaed32ae905
parent3006a55a0889cb1ea0f83b2e4e22ca32adc8bb12
compat/terminal: header-fixup

getch is declared in conio.h, which was only included from
compat/mingw.c and compat/msvc.c.

Fix this, by moving the inclusion of getch to git-compat-util.h
instead.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
compat/mingw.c
compat/msvc.c
git-compat-util.h