diff options
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_init.c')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.c b/src/gallium/auxiliary/gallivm/lp_bld_init.c index b0781eb97c2..0e81df357a8 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_init.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_init.c @@ -38,9 +38,10 @@ #include "lp_bld_misc.h" #include "lp_bld_init.h" +#include <llvm/Config/llvm-config.h> #include <llvm-c/Analysis.h> #include <llvm-c/Transforms/Scalar.h> -#if HAVE_LLVM >= 0x0700 +#if LLVM_VERSION_MAJOR >= 7 #include <llvm-c/Transforms/Utils.h> #endif #include <llvm-c/BitWriter.h> |