From: Roland Scheidegger Date: Sat, 17 May 2014 00:03:35 +0000 (+0200) Subject: gallivm: (trivial) fix compilation with llvm 3.1, 3.2 X-Git-Tag: android-x86-4.4-r3~5326 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=3bf2d86c09caeb3ed7c892a3852b8d2d921cff01;p=android-x86%2Fexternal-mesa.git gallivm: (trivial) fix compilation with llvm 3.1, 3.2 I actually checked the getModuleIdentifier() function exists with 3.1 but missed that the file moved... This fixes https://bugs.freedesktop.org/show_bug.cgi?id=78803 --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp index 621290fdfbd..df268831969 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp @@ -39,7 +39,11 @@ #include +#if HAVE_LLVM >= 0x0303 #include +#else +#include +#endif #include #include