From: Vinson Lee Date: Fri, 25 Mar 2011 19:47:06 +0000 (-0700) Subject: gallivm: Fix build with llvm-2.9. X-Git-Tag: 062012170305~6492 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb0dd370945b9e3f5eb548a1a4a8184bb0e604fc;p=profile%2Fivi%2Fmesa.git gallivm: Fix build with llvm-2.9. In llvm-2.9, the header file llvm/System/Host.h has been moved to llvm/Support/Host.h. --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp index bb2c82f..1f24cb6 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp @@ -32,7 +32,12 @@ #include #include #include + +#if HAVE_LLVM >= 0x0209 +#include +#else #include +#endif #if HAVE_LLVM >= 0x0207 #include