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:
Roland Scheidegger
2014-05-17 02:03:35 +02:00
parent 3a1da0abee
commit 3bf2d86c09
@@ -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>