util: Do not include sys/wait.h on Win32

This fixes build on mingw broken by my previous commit 36e125296a.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
Jiri Denemark 2020-04-17 20:27:00 +02:00
parent 28fdfd20f2
commit ee62b98e01

View File

@ -22,7 +22,9 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#ifndef WIN32
# include <sys/wait.h>
#endif
#include <fcntl.h>
#include <unistd.h>
#include <stdbool.h>