diff options
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_debug.cpp')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp index 621290f..df26883 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp @@ -39,7 +39,11 @@ #include <llvm/Support/Host.h> +#if HAVE_LLVM >= 0x0303 #include <llvm/IR/Module.h> +#else +#include <llvm/Module.h> +#endif #include <llvm/MC/MCDisassembler.h> #include <llvm/MC/MCAsmInfo.h> |