summaryrefslogtreecommitdiff
path: root/tests/check
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2012-09-12 09:48:47 +0100
committerTim-Philipp Müller <tim@centricular.net>2012-09-12 09:49:17 +0100
commit585bd3ee210b421906c3fa7a136d12d53249dc12 (patch)
treedc5f30fb29c23c9c9db4d9dec826349be755edcc /tests/check
parentb04e61d8a4488ced6143150a11bd46988514ff4c (diff)
tests: attempt to get disabled streamheader test to compile on win32
Though it probably won't work, but then it's disabled.
Diffstat (limited to 'tests/check')
-rw-r--r--tests/check/pipelines/streamheader.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/check/pipelines/streamheader.c b/tests/check/pipelines/streamheader.c
index be03e041d..c126a7030 100644
--- a/tests/check/pipelines/streamheader.c
+++ b/tests/check/pipelines/streamheader.c
@@ -24,7 +24,14 @@
#include "config.h"
#endif
+#include <glib.h>
+
+#ifdef G_OS_WIN32
+#include <io.h>
+#define pipe(fds) _pipe(fds)
+#else
#include <unistd.h>
+#endif
#include <gio/gio.h>
#include <gst/check/gstcheck.h>