gallivm: fix build with LLVM 15

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15095>
This commit is contained in:
Marek Olšák 2022-02-11 20:20:35 -05:00 committed by Marge Bot
parent 7893192613
commit 7ec8a3205e

View file

@ -64,6 +64,9 @@
#include <llvm/Support/PrettyStackTrace.h>
#include <llvm/ExecutionEngine/ObjectCache.h>
#include <llvm/Support/TargetSelect.h>
#if LLVM_VERSION_MAJOR >= 15
#include <llvm/Support/MemoryBuffer.h>
#endif
#if LLVM_VERSION_MAJOR < 11
#include <llvm/IR/CallSite.h>