Bug 669538-glib-compile-resources.c: Include io.h on Windows

This is needed for close() on Windows (Visual C++ specifically) so that
no C4013 (aka Implicit declaration of ...) errors/warnings will be emitted.
This commit is contained in:
Chun-wei Fan 2012-02-07 14:41:24 +08:00
parent 52d0460096
commit d4e3ae990c

View File

@ -30,6 +30,9 @@
#include <stdio.h>
#include <locale.h>
#include <errno.h>
#ifdef G_OS_WIN32
#include <io.h>
#endif
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif