summaryrefslogtreecommitdiffstats
path: root/src/mesa/program
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-12-11 13:30:13 -0800
committerVinson Lee <vlee@vmware.com>2010-12-11 13:30:13 -0800
commit7d8c06746059c2b3cd7ac08fd0909e38c880ec9c (patch)
tree9bc7e739e7c3dc5f1d20ba105df57839a556040f /src/mesa/program
parent2af8a1983180fc0168c1e0e53bcc69ee3d684ea4 (diff)
mesa: Clean up header file inclusion in ir_to_mesa.h.
Diffstat (limited to 'src/mesa/program')
-rw-r--r--src/mesa/program/ir_to_mesa.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/program/ir_to_mesa.h b/src/mesa/program/ir_to_mesa.h
index 7197615f949..7410e149735 100644
--- a/src/mesa/program/ir_to_mesa.h
+++ b/src/mesa/program/ir_to_mesa.h
@@ -25,8 +25,11 @@
extern "C" {
#endif
-#include "main/config.h"
-#include "main/mtypes.h"
+#include "main/glheader.h"
+
+struct gl_context;
+struct gl_shader;
+struct gl_shader_program;
void _mesa_glsl_compile_shader(struct gl_context *ctx, struct gl_shader *sh);
void _mesa_glsl_link_shader(struct gl_context *ctx, struct gl_shader_program *prog);