[virglrenderer-devel] [PATCH 06/11] renderer: fix undeclared read/write warnings

marcandre.lureau at redhat.com marcandre.lureau at redhat.com
Thu Mar 3 17:46:47 UTC 2016


From: Marc-André Lureau <marcandre.lureau at redhat.com>

On some systems, unistd is not implicitely included

Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
---
 src/vrend_renderer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c
index a42a08f..236967a 100644
--- a/src/vrend_renderer.c
+++ b/src/vrend_renderer.c
@@ -27,6 +27,7 @@
 
 #include <epoxy/gl.h>
 
+#include <unistd.h>
 #include <stdio.h>
 #include <errno.h>
 #include "pipe/p_shader_tokens.h"
-- 
2.5.0



More information about the virglrenderer-devel mailing list