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 <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4748>
This commit is contained in:
@@ -65,7 +65,9 @@
|
||||
|
||||
#include <llvm/Support/TargetSelect.h>
|
||||
|
||||
#if LLVM_VERSION_MAJOR < 11
|
||||
#include <llvm/IR/CallSite.h>
|
||||
#endif
|
||||
#include <llvm/IR/IRBuilder.h>
|
||||
#include <llvm/IR/Module.h>
|
||||
#include <llvm/Support/CBindingWrapping.h>
|
||||
|
Reference in New Issue
Block a user