diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index ed0addcdbbf..9c4c0bfd6b4 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -151,7 +151,9 @@ #include "shader/program.h" #endif #include "shader/shader_api.h" +#if FEATURE_ATI_fragment_shader #include "shader/atifragshader.h" +#endif #if _HAVE_FULL_GL #include "math/m_translate.h" #include "math/m_matrix.h"