diff options
author | Eli Zaretskii <eliz@gnu.org> | 2017-05-19 11:05:59 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-05-19 11:05:59 +0300 |
commit | 50e1d299ef1d21b0833c2fe1484d3cc374e6486f (patch) | |
tree | 9ddacbfe2223a0905881b984b5a104f0a934f39a /readline/input.c | |
parent | dd47d677f0164800ceba1ab67f6cd2add0021101 (diff) | |
download | gdb-50e1d299ef1d21b0833c2fe1484d3cc374e6486f.zip gdb-50e1d299ef1d21b0833c2fe1484d3cc374e6486f.tar.gz gdb-50e1d299ef1d21b0833c2fe1484d3cc374e6486f.tar.bz2 |
Avoid MinGW compilation warning in readline/input.c
This change was already accepted upstream in Readline.
readline/ChangeLog.gdb:
2017-05-19 Eli Zaretskii <eliz@gnu.org>
* input.c [_WIN32]: Include <conio.h> to avoid compiler warning on
MinGW.
Diffstat (limited to 'readline/input.c')
-rw-r--r-- | readline/input.c | 1 |
1 files changed, 1 insertions, 0 deletions
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> |