From: Mike Lothian Date: Sun, 1 Apr 2018 00:32:22 +0000 (+0100) Subject: gallivm: Fix include for LLVMAddPromoteMemoryToRegisterPass X-Git-Tag: upstream/18.1.0~483 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0bdbe4583fa031e130731de9e6bdbf767f89a1e5;p=platform%2Fupstream%2Fmesa.git gallivm: Fix include for LLVMAddPromoteMemoryToRegisterPass Include llvm-c/Transforms/Utils.h with the newest LLVM 7 Signed-of-by: Mike Lothian Reviewed-by: Samuel Pitoiset Tested-by: Dieter Nützel Signed-off-by: Marek Olšák --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.c b/src/gallium/auxiliary/gallivm/lp_bld_init.c index 6ddc509..dae9d01 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_init.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_init.c @@ -40,6 +40,9 @@ #include #include +#if HAVE_LLVM >= 0x0700 +#include +#endif #include