From 3bf2d86c09caeb3ed7c892a3852b8d2d921cff01 Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Sat, 17 May 2014 02:03:35 +0200 Subject: 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 --- src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gallium/auxiliary/gallivm/lp_bld_debug.cpp') 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 +#if HAVE_LLVM >= 0x0303 #include +#else +#include +#endif #include #include -- cgit v1.1