diff options
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_init.h')
| -rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_init.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.h b/src/gallium/auxiliary/gallivm/lp_bld_init.h index e58661fdf62..2ecfd0bfcb6 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_init.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_init.h @@ -29,12 +29,15 @@ #ifndef LP_BLD_INIT_H #define LP_BLD_INIT_H +#include <stdbool.h> -#include "util/compiler.h" #include "util/u_pointer.h" // for func_pointer + +#if DETECT_ARCH_PPC_64 #include "util/u_cpu_detect.h" -#include "lp_bld.h" -#include "lp_bld_passmgr.h" +#endif + +#include <llvm-c/Core.h> #if GALLIVM_USE_ORCJIT #include <llvm-c/Orc.h> @@ -48,6 +51,7 @@ extern "C" { struct lp_cached_code; struct lp_jit_texture; +struct lp_context_ref; struct gallivm_state { @@ -96,7 +100,7 @@ lp_build_init(void); struct gallivm_state * -gallivm_create(const char *name, lp_context_ref *context, +gallivm_create(const char *name, struct lp_context_ref *context, struct lp_cached_code *cache); void |