gallivm: (trivial) fix compilation with llvm 3.1, 3.2
I actually checked the getModuleIdentifier() function exists with 3.1 but missed that the file moved... This fixes https://bugs.freedesktop.org/show_bug.cgi?id=78803
This commit is contained in:
@@ -39,7 +39,11 @@
|
||||
|
||||
#include <llvm/Support/Host.h>
|
||||
|
||||
#if HAVE_LLVM >= 0x0303
|
||||
#include <llvm/IR/Module.h>
|
||||
#else
|
||||
#include <llvm/Module.h>
|
||||
#endif
|
||||
|
||||
#include <llvm/MC/MCDisassembler.h>
|
||||
#include <llvm/MC/MCAsmInfo.h>
|
||||
|
||||
Reference in New Issue
Block a user