[Piglit] [PATCH 07/12] util/framework: don't include POSIX headers when building for windows
Emil Velikov
emil.l.velikov at gmail.com
Tue Aug 12 10:18:47 PDT 2014
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
tests/util/piglit-framework-gl/piglit_winsys_framework.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/util/piglit-framework-gl/piglit_winsys_framework.c b/tests/util/piglit-framework-gl/piglit_winsys_framework.c
index 5d7dae1..c80e972 100644
--- a/tests/util/piglit-framework-gl/piglit_winsys_framework.c
+++ b/tests/util/piglit-framework-gl/piglit_winsys_framework.c
@@ -22,7 +22,9 @@
*/
#include <assert.h>
+#if !defined(_WIN32)
#include <unistd.h>
+#endif
#include "piglit-util-gl.h"
#include "piglit-util-waffle.h"
--
2.0.2
More information about the Piglit
mailing list