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 3f5eac1e26cca3d345b712fc38ca4b150d1bfa01..e11b6fa9a2a6a4f943cd62a49db892a76e18c8dd 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 ddbf2ea887f9582809ed6dd9a7a216fe73871f8c..694e0afcd931f0c4b6d6806e892ec039ff37b254 100644 (file)
@@ -35,7 +35,6 @@
 
 
 #include <assert.h>
-#include <ctype.h>
 #include <math.h>
 #include <limits.h>
 #include <stdlib.h>