From 50e1d299ef1d21b0833c2fe1484d3cc374e6486f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 19 May 2017 11:05:59 +0300 Subject: [PATCH] Avoid MinGW compilation warning in readline/input.c This change was already accepted upstream in Readline. readline/ChangeLog.gdb: 2017-05-19 Eli Zaretskii * input.c [_WIN32]: Include to avoid compiler warning on MinGW. --- readline/ChangeLog.gdb | 5 +++++ readline/input.c | 1 + 2 files changed, 6 insertions(+) diff --git a/readline/ChangeLog.gdb b/readline/ChangeLog.gdb index 91e1dbd11bc..f05b9dc52c2 100644 --- a/readline/ChangeLog.gdb +++ b/readline/ChangeLog.gdb @@ -1,3 +1,8 @@ +2017-05-19 Eli Zaretskii + + * input.c [_WIN32]: Include to avoid compiler warning on + MinGW. + 2016-09-17 Eli Zaretskii * util.c: Include rlshell.h. diff --git a/readline/input.c b/readline/input.c index e35277fd2df..c00bce77a74 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 +#include #define WIN32_LEAN_AND_MEAN 1 #include -- 2.30.2