summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Herbst <kherbst@redhat.com>2021-03-02 20:09:39 +0100
committerMarge Bot <eric+marge@anholt.net>2021-03-02 19:35:40 +0000
commitf0dccd957879ff642cfd921dda6e8b04dd35fec4 (patch)
treee11311103a608426a00467c14c11347a427c5d56
parent1294aec650e7950bfa37051a51dfded30382f485 (diff)
clover: Add missing include for llvm-12 build fix
Fixes: d1eab2b1eb1 ("clover: Fix build with llvm-12.") Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9372>
-rw-r--r--src/gallium/frontends/clover/llvm/compat.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/frontends/clover/llvm/compat.hpp b/src/gallium/frontends/clover/llvm/compat.hpp
index d537819f292..380d16a8346 100644
--- a/src/gallium/frontends/clover/llvm/compat.hpp
+++ b/src/gallium/frontends/clover/llvm/compat.hpp
@@ -49,6 +49,7 @@
#include <clang/Basic/TargetInfo.h>
#include <clang/Frontend/CompilerInstance.h>
+#include <clang/Lex/PreprocessorOptions.h>
#if LLVM_VERSION_MAJOR >= 10
#include <llvm/Support/CodeGen.h>