aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r300/compiler')
-rw-r--r--src/gallium/drivers/r300/compiler/radeon_compiler.h2
-rw-r--r--src/gallium/drivers/r300/compiler/radeon_emulate_loops.c3
-rw-r--r--src/gallium/drivers/r300/compiler/radeon_remove_constants.c1
-rw-r--r--src/gallium/drivers/r300/compiler/radeon_variable.c1
4 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/compiler/radeon_compiler.h b/src/gallium/drivers/r300/compiler/radeon_compiler.h
index e2710d848c5..9dc6855be3c 100644
--- a/src/gallium/drivers/r300/compiler/radeon_compiler.h
+++ b/src/gallium/drivers/r300/compiler/radeon_compiler.h
@@ -23,8 +23,6 @@
#ifndef RADEON_COMPILER_H
#define RADEON_COMPILER_H
-#include "main/compiler.h"
-
#include "memory_pool.h"
#include "radeon_code.h"
#include "radeon_program.h"
diff --git a/src/gallium/drivers/r300/compiler/radeon_emulate_loops.c b/src/gallium/drivers/r300/compiler/radeon_emulate_loops.c
index e7b69c875c6..d42b3e793d2 100644
--- a/src/gallium/drivers/r300/compiler/radeon_emulate_loops.c
+++ b/src/gallium/drivers/r300/compiler/radeon_emulate_loops.c
@@ -29,8 +29,9 @@
* \file
*/
+#include <stdio.h>
+#include "c99_math.h"
#include "radeon_emulate_loops.h"
-
#include "radeon_compiler.h"
#include "radeon_compiler_util.h"
#include "radeon_dataflow.h"
diff --git a/src/gallium/drivers/r300/compiler/radeon_remove_constants.c b/src/gallium/drivers/r300/compiler/radeon_remove_constants.c
index 7d76585a593..d17f502b23f 100644
--- a/src/gallium/drivers/r300/compiler/radeon_remove_constants.c
+++ b/src/gallium/drivers/r300/compiler/radeon_remove_constants.c
@@ -25,6 +25,7 @@
*
*/
+#include <stdlib.h>
#include "radeon_remove_constants.h"
#include "radeon_dataflow.h"
diff --git a/src/gallium/drivers/r300/compiler/radeon_variable.c b/src/gallium/drivers/r300/compiler/radeon_variable.c
index c7ac486f33f..ba895239fb6 100644
--- a/src/gallium/drivers/r300/compiler/radeon_variable.c
+++ b/src/gallium/drivers/r300/compiler/radeon_variable.c
@@ -25,6 +25,7 @@
*
*/
+#include <stdio.h>
#include "radeon_variable.h"
#include "memory_pool.h"