[Mesa-dev] [PATCH 04/10] mesa: only include ctype.h where it's used

Brian Paul brianp at vmware.com
Wed Feb 25 17:29:56 PST 2015


---
 src/glsl/linker.cpp      | 1 +
 src/mesa/main/compiler.h | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp
index 3f5eac1..e11b6fa 100644
--- a/src/glsl/linker.cpp
+++ b/src/glsl/linker.cpp
@@ -64,6 +64,7 @@
  * \author Ian Romanick <ian.d.romanick at intel.com>
  */
 
+#include <ctype.h>
 #include "main/core.h"
 #include "glsl_symbol_table.h"
 #include "glsl_parser_extras.h"
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index ddbf2ea..694e0af 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -35,7 +35,6 @@
 
 
 #include <assert.h>
-#include <ctype.h>
 #include <math.h>
 #include <limits.h>
 #include <stdlib.h>
-- 
1.9.1



More information about the mesa-dev mailing list