From 52aa730d07618513d6c055618069b2f4680974cc Mon Sep 17 00:00:00 2001 From: Jan Zielinski Date: Mon, 27 Apr 2020 13:34:59 +0200 Subject: [PATCH] gallium/gallivm: remove unused header include for newer LLVM In the top of the trunk LLVM (11) llvm/IR/CallSite.h header has been removed. The file compiles without this include also for LLVM 8, but I'm not sure about 9, 10, and older versions so I disable it only for the latest LLVM Reviewed-by: Roland Scheidegger Part-of: --- src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp index 40cc96824f3..df7196190c5 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp @@ -65,7 +65,9 @@ #include +#if LLVM_VERSION_MAJOR < 11 #include +#endif #include #include #include -- 2.30.2