summaryrefslogtreecommitdiff
path: root/src/glsl/builtins
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-08-23 17:51:42 +0800
committerChia-I Wu <olv@lunarg.com>2010-08-24 11:27:29 +0800
commitbfd7c9ac228c7ed8aec04c3b3aa33f40ee00b035 (patch)
tree253e93215989a58b0ec088b7fad095766e3cab80 /src/glsl/builtins
parentf90b5936d07c4c8f280318ab5cf5894ecb67aef6 (diff)
glsl: Include main/core.h.
Make glsl include only main/core.h from core mesa.
Diffstat (limited to 'src/glsl/builtins')
-rwxr-xr-xsrc/glsl/builtins/tools/generate_builtins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/builtins/tools/generate_builtins.py b/src/glsl/builtins/tools/generate_builtins.py
index 2a763d784b..c72b5b3bc1 100755
--- a/src/glsl/builtins/tools/generate_builtins.py
+++ b/src/glsl/builtins/tools/generate_builtins.py
@@ -116,7 +116,7 @@ if __name__ == "__main__":
*/
#include <stdio.h>
-#include "main/compiler.h"
+#include "main/core.h" /* for struct gl_shader */
#include "glsl_parser_extras.h"
#include "ir_reader.h"
#include "program.h"