From: Vinson Lee Date: Sat, 7 Aug 2010 19:25:20 +0000 (-0700) Subject: swrast: Clean up header file inclusion in s_atifragshader.h. X-Git-Tag: 062012170305~10891 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12e8e5ee952f0ffceee28fdeff35f790a37ab896;p=profile%2Fivi%2Fmesa.git 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. --- diff --git a/src/mesa/swrast/s_atifragshader.c b/src/mesa/swrast/s_atifragshader.c index 336415d..1338b68 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 871a0c0..cce455a 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