summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_bld_misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_misc.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_misc.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_misc.h b/src/gallium/drivers/llvmpipe/lp_bld_misc.h
index 51a84c5e25..0e787e0b9c 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_misc.h
+++ b/src/gallium/drivers/llvmpipe/lp_bld_misc.h
@@ -30,17 +30,23 @@
#define LP_BLD_MISC_H
+#include "llvm/Config/config.h"
+
#ifdef __cplusplus
extern "C" {
#endif
+#ifndef LLVM_NATIVE_ARCH
+
void
LLVMLinkInJIT(void);
-void
+int
LLVMInitializeNativeTarget(void);
+#endif /* !LLVM_NATIVE_ARCH */
+
#ifdef __cplusplus
}