About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/gallivm/lp_bld_ir_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_ir_common.h')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_ir_common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_ir_common.h b/src/gallium/auxiliary/gallivm/lp_bld_ir_common.h
index 3b4c9614f9e..c46aa8cf527 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_ir_common.h
+++ b/src/gallium/auxiliary/gallivm/lp_bld_ir_common.h
@@ -33,9 +33,11 @@
extern "C" {
#endif
-#include "gallivm/lp_bld.h"
+#include <llvm-c/Core.h>
#include "gallivm/lp_bld_limits.h"
+struct gallivm_state;
+
/* SM 4.0 says that subroutines can nest 32 deep and
* we need one more for our main function */
#define LP_MAX_NUM_FUNCS 33