Bug 793393 - gimputils.c compilation error under Win32.

The header sys/wait.h is not for Win32.
This commit is contained in:
Jehan
2018-02-12 18:08:03 +01:00
parent 77dcbb52bd
commit 1282a95e6b

View File

@ -25,8 +25,6 @@
#include <string.h>
#include <stdio.h>
#include <sys/wait.h>
#ifdef PLATFORM_OSX
#include <AppKit/AppKit.h>
#endif
@ -47,7 +45,10 @@
#undef DATADIR
#include <windows.h>
#include <shlobj.h>
#endif
#else /* G_OS_WIN32 */
/* For waitpid() */
#include <sys/wait.h>
#endif /* G_OS_WIN32 */
#include "gimpbasetypes.h"
#include "gimputils.h"