From 7d8c06746059c2b3cd7ac08fd0909e38c880ec9c Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sat, 11 Dec 2010 13:30:13 -0800 Subject: [PATCH] mesa: Clean up header file inclusion in ir_to_mesa.h. --- src/mesa/program/ir_to_mesa.h | 7 +++++-- 1 file 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); -- 2.30.2