Signed-off-by: Emil Velikov <emil.l.veli...@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

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to