compat/terminal: header-fixup
commit580ceb1c654d68b3b4c039ed70f155d09759fac1
authorErik Faye-Lund <kusmabite@gmail.com>
Mon, 25 Jun 2012 14:13:59 +0000 (25 16:13 +0200)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 1 Oct 2012 13:35:46 +0000 (1 14:35 +0100)
treebe04d63da133ab1e544ec0ba1f577c2fc81cdbce
parent431fa8f83c86b60ad13a972bd55bec1ec175699a
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