From 12e8e5ee952f0ffceee28fdeff35f790a37ab896 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sat, 7 Aug 2010 12:25:20 -0700 Subject: [PATCH] swrast: Clean up header file inclusion in s_atifragshader.h. s_atifragshader.h Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol. s_atifragshader.c Include s_context.h for SWcontext symbol. --- src/mesa/swrast/s_atifragshader.c | 1 + src/mesa/swrast/s_atifragshader.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesa/swrast/s_atifragshader.c b/src/mesa/swrast/s_atifragshader.c index 336415d57af..1338b6802d4 100644 --- a/src/mesa/swrast/s_atifragshader.c +++ b/src/mesa/swrast/s_atifragshader.c @@ -24,6 +24,7 @@ #include "main/macros.h" #include "main/atifragshader.h" #include "swrast/s_atifragshader.h" +#include "swrast/s_context.h" /** diff --git a/src/mesa/swrast/s_atifragshader.h b/src/mesa/swrast/s_atifragshader.h index 871a0c04559..cce455a0465 100644 --- a/src/mesa/swrast/s_atifragshader.h +++ b/src/mesa/swrast/s_atifragshader.h @@ -27,7 +27,8 @@ #define S_ATIFRAGSHADER_H -#include "s_context.h" +#include "main/mtypes.h" +#include "s_span.h" extern void -- 2.30.2