[Piglit] [PATCH 1/3] android: piglit-vbo.cpp compile error

Tom Gall tom.gall at linaro.org
Mon Jan 28 10:30:37 PST 2013


Android is a bit more strict when it builds. Missing was ctype.h.
It doesn't break Linux.

Signed-off-by: Tom Gall <tom.gall at linaro.org>
---
 tests/util/piglit-vbo.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/util/piglit-vbo.cpp b/tests/util/piglit-vbo.cpp
index 4900931..b2e2e63 100644
--- a/tests/util/piglit-vbo.cpp
+++ b/tests/util/piglit-vbo.cpp
@@ -93,6 +93,7 @@
 #include <string>
 #include <vector>
 #include <errno.h>
+#include <ctype.h>
 
 #include "piglit-util-gl-common.h"
 #include "piglit-vbo.h"
-- 
1.7.10.4



More information about the Piglit mailing list