From bc120f27bd87ff32218c30bd9589201eff7fcfee Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 16 Sep 2013 11:30:01 +0300 Subject: Avoid compiler warnings in output.c on MS-Windows. output.c [WINDOWS32]: Include windows.h and sub_proc.h, to avoid compiler warnings for CLOSE_ON_EXEC. --- output.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'output.c') diff --git a/output.c b/output.c index c9e1909..c445e63 100644 --- a/output.c +++ b/output.c @@ -30,6 +30,11 @@ this program. If not, see . */ # include #endif +#ifdef WINDOWS32 +# include +# include "sub_proc.h" +#endif /* WINDOWS32 */ + struct output *output_context = NULL; static unsigned int stdio_traced = 0; -- cgit v1.2.3