From 9ceee5f4be09702fc881c922b5ad489cd03c76f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Fri, 7 Mar 2014 10:49:30 +0900 Subject: [PATCH] clover: Fix build against LLVM SVN r203065 or newer llvm/Linker.h was moved to llvm/Linker/Linker.h. Reviewed-by: Tom Stellard --- src/gallium/state_trackers/clover/llvm/invocation.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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