summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>