summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2012-09-12 13:03:28 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-09-12 13:20:56 +0100
commit63eeb11bfb6e12eb2dd507648ccb67e1b51bfdb0 (patch)
tree972ec991833958066d6c62d64bfa5b0019e2bc97 /tests
parent84cea735e9c4ced045ada4e6f4b586f42a773fba (diff)
tests: fix win32 build even more
Diffstat (limited to 'tests')
-rw-r--r--tests/check/pipelines/streamheader.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/check/pipelines/streamheader.c b/tests/check/pipelines/streamheader.c
index c126a7030..02e72ed7a 100644
--- a/tests/check/pipelines/streamheader.c
+++ b/tests/check/pipelines/streamheader.c
@@ -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