aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_span.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_span.c')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_span.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_span.c b/src/mesa/drivers/dri/radeon/radeon_span.c
index 732a85ecf0b..4551190d10c 100644
--- a/src/mesa/drivers/dri/radeon/radeon_span.c
+++ b/src/mesa/drivers/dri/radeon/radeon_span.c
@@ -43,11 +43,16 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "glheader.h"
#include "swrast/swrast.h"
+#ifdef COMPILE_R300
+#include "r300_ioctl.h"
+#include "r300_state.h"
+#else
#include "radeon_context.h"
#include "radeon_ioctl.h"
#include "radeon_state.h"
-#include "radeon_span.h"
#include "radeon_tex.h"
+#endif
+#include "radeon_span.h"
#include "drirenderbuffer.h"