mesa: only include ctype.h where it's used
authorBrian Paul <brianp@vmware.com>
Tue, 24 Feb 2015 23:56:54 +0000 (16:56 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 26 Feb 2015 15:38:38 +0000 (08:38 -0700)
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/glsl/linker.cpp
src/mesa/main/compiler.h

index 3f5eac1..e11b6fa 100644 (file)
@@ -64,6 +64,7 @@
  * \author Ian Romanick <ian.d.romanick@intel.com>
  */
 
+#include <ctype.h>
 #include "main/core.h"
 #include "glsl_symbol_table.h"
 #include "glsl_parser_extras.h"
index ddbf2ea..694e0af 100644 (file)
@@ -35,7 +35,6 @@
 
 
 #include <assert.h>
-#include <ctype.h>
 #include <math.h>
 #include <limits.h>
 #include <stdlib.h>