tests: fix win32 build even more

This commit is contained in:
Tim-Philipp Müller 2012-09-12 13:03:28 +01:00
parent 84cea735e9
commit 63eeb11bfb

View file

@ -27,8 +27,11 @@
#include <glib.h>
#ifdef G_OS_WIN32
#include <stdlib.h>
#include <stdio.h>
#include <io.h>
#define pipe(fds) _pipe(fds)
#include <fcntl.h>
#define pipe(fds) _pipe(fds,4096,O_BINARY)
#else
#include <unistd.h>
#endif