[waffle] [PATCH 21/33] tests/gl_basic_test: don't include posix headers when building for win32
Emil Velikov
emil.l.velikov at gmail.com
Mon Jul 7 10:28:28 PDT 2014
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
tests/functional/gl_basic_test.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/functional/gl_basic_test.c b/tests/functional/gl_basic_test.c
index 035b221..928008b 100644
--- a/tests/functional/gl_basic_test.c
+++ b/tests/functional/gl_basic_test.c
@@ -37,10 +37,14 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#if !defined(_WIN32)
#include <unistd.h>
+#endif
#include <sys/types.h>
+#if !defined(_WIN32)
#include <sys/wait.h>
+#endif
#include "waffle.h"
#include "waffle_test/waffle_test.h"
--
2.0.0
More information about the waffle
mailing list