mesa: test for FEATURE_ATI_fragment_shader
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index ed0addc..9c4c0bf 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"