diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-09-16 11:30:01 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-09-16 11:30:01 +0300 |
commit | bc6c00a6b7633de6f6dcb7ed0ddd9824ddeb7d0c (patch) | |
tree | 1c5a80ff7e1f2178472ccbfc75e2e23b1161dabf /output.c | |
parent | 826504da9e31cb816e2398e1e3952198f6f59bb3 (diff) | |
download | make-bc6c00a6b7633de6f6dcb7ed0ddd9824ddeb7d0c.tar.gz |
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.
Diffstat (limited to 'output.c')
-rw-r--r-- | output.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -30,6 +30,11 @@ this program. If not, see <http://www.gnu.org/licenses/>. */ # include <sys/file.h> #endif +#ifdef WINDOWS32 +# include <windows.h> +# include "sub_proc.h" +#endif /* WINDOWS32 */ + struct output *output_context = NULL; static unsigned int stdio_traced = 0; |