summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-02-24 16:56:54 -0700
committerBrian Paul <[email protected]>2015-02-26 08:38:38 -0700
commitddf4b2e363653daf9342925e71122ba6670816a8 (patch)
treebf3ad9fa9bd207c63d3cb2c75bbfff3ccec0268a
parent135b8c65305c05c1ea9145141bad670003270c41 (diff)
mesa: only include ctype.h where it's used
Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
-rw-r--r--src/glsl/linker.cpp1
-rw-r--r--src/mesa/main/compiler.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp
index 3f5eac1e26c..e11b6fa9a2a 100644
--- a/src/glsl/linker.cpp
+++ b/src/glsl/linker.cpp
@@ -64,6 +64,7 @@
* \author Ian Romanick <[email protected]>
*/
+#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 ddbf2ea887f..694e0afcd93 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>