From e4f9a37ace750646fd75fbbdff9b5e77a0b26cfb Mon Sep 17 00:00:00 2001 From: Jan Vesely Date: Thu, 13 Dec 2018 15:53:42 -0500 Subject: [PATCH] clover: Fix build after clang r348827 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit CodeGenOptions were moved to Basic. Signed-off-by: Jan Vesely Reviewed-by: Aaron Watry Tested-by: Aaron Watry Reviewed-by: Kai Wasserbäch CC: mesa-stable@lists.freedesktop.org --- src/gallium/state_trackers/clover/llvm/compat.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/clover/llvm/compat.hpp b/src/gallium/state_trackers/clover/llvm/compat.hpp index 975012cbda4..b91cb95a295 100644 --- a/src/gallium/state_trackers/clover/llvm/compat.hpp +++ b/src/gallium/state_trackers/clover/llvm/compat.hpp @@ -58,9 +58,14 @@ #include #include -#include #include +#if HAVE_LLVM >= 0x0800 +#include +#else +#include +#endif + namespace clover { namespace llvm { namespace compat { -- 2.30.2