From: Jan Vesely Date: Thu, 13 Dec 2018 20:53:42 +0000 (-0500) Subject: clover: Fix build after clang r348827 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e4f9a37ace750646fd75fbbdff9b5e77a0b26cfb;p=mesa.git clover: Fix build after clang r348827 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 --- 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 {