From: Michel Dänzer Date: Fri, 7 Mar 2014 01:49:30 +0000 (+0900) Subject: clover: Fix build against LLVM SVN r203065 or newer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ceee5f4be09702fc881c922b5ad489cd03c76f8;p=mesa.git clover: Fix build against LLVM SVN r203065 or newer llvm/Linker.h was moved to llvm/Linker/Linker.h. Reviewed-by: Tom Stellard --- diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp index a9ac83b8999..a81bdf8aa73 100644 --- a/src/gallium/state_trackers/clover/llvm/invocation.cpp +++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp @@ -29,7 +29,11 @@ #include #include #include +#if HAVE_LLVM < 0x0305 #include +#else +#include +#endif #if HAVE_LLVM < 0x0303 #include #include