diff options
-rw-r--r-- | readline/ChangeLog.gdb | 5 | ||||
-rw-r--r-- | readline/input.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/readline/ChangeLog.gdb b/readline/ChangeLog.gdb index 91e1dbd..f05b9dc 100644 --- a/readline/ChangeLog.gdb +++ b/readline/ChangeLog.gdb @@ -1,3 +1,8 @@ +2017-05-19 Eli Zaretskii <eliz@gnu.org> + + * input.c [_WIN32]: Include <conio.h> to avoid compiler warning on + MinGW. + 2016-09-17 Eli Zaretskii <eliz@gnu.org> * util.c: Include rlshell.h. diff --git a/readline/input.c b/readline/input.c index e35277f..c00bce7 100644 --- a/readline/input.c +++ b/readline/input.c @@ -91,6 +91,7 @@ static int rl_gather_tyi PARAMS((void)); /* 'isatty' in the Windows runtime returns non-zero for every character device, including the null device. Repair that. */ #include <io.h> +#include <conio.h> #define WIN32_LEAN_AND_MEAN 1 #include <windows.h> |