From 4f69a9ea0f80e78da61482b2d1143a6e58859fd1 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 8 Jul 2013 14:57:53 -0300 Subject: Fixed Bug #7493 Special Thanks to quesoph http://hercules.ws/board/tracker/issue-7493-compiling-with-cygwin/ Signed-off-by: shennetsind --- src/common/console.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/common') diff --git a/src/common/console.c b/src/common/console.c index 4ae210e55..a9ea0386f 100644 --- a/src/common/console.c +++ b/src/common/console.c @@ -21,14 +21,15 @@ #include #include -#ifndef WIN32 +#if !defined(WIN32) #include + #include #else #include "../common/winapi.h" // Console close event handling #endif #ifdef CONSOLE_INPUT - #ifdef WIN32 + #if defined(WIN32) #include /* _kbhit() */ #endif #endif -- cgit v1.2.3-70-g09d2