Module: Mesa Branch: 9.1 Commit: 122c67e7e1054075c76304d87539f27e7e86c0b9 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=122c67e7e1054075c76304d87539f27e7e86c0b9
Author: Tom Stellard <[email protected]> Date: Tue Apr 23 10:57:54 2013 -0400 gallivm: Fix build with LLVM >= r180063 (cherry picked from commit ead4db420e9e5408f41c70768a290592a384aedb) --- src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 4 ++++ src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 4 ++++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp index af50fcc..8ef17de 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp @@ -55,6 +55,10 @@ #include <llvm/MC/MCRegisterInfo.h> #endif /* HAVE_LLVM >= 0x0301 */ +#if HAVE_LLVM >= 0x0303 +#include <llvm/ADT/OwningPtr.h> +#endif + #include "util/u_math.h" #include "util/u_debug.h" diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp index 6a560df..a53548d 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp @@ -60,6 +60,10 @@ #include <llvm/Target/TargetSelect.h> #endif /* HAVE_LLVM < 0x0300 */ +#if HAVE_LLVM >= 0x0303 +#include <llvm/Wrap.h> +#endif + #include "pipe/p_config.h" #include "util/u_debug.h" #include "util/u_cpu_detect.h" _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
