summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-09-24 11:46:09 -0400
committerTom Stellard <thomas.stellard@amd.com>2014-09-24 11:54:44 -0400
commit180b152b247594bd8a72bc5b4d90a701c5341063 (patch)
tree7cd4241cac5c8e8b883dd7e7451365352ba9acb5 /src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
parentef75f60822b71a5ac1715f0e3d9b04b9f7e9020f (diff)
downloadexternal_mesa3d-180b152b247594bd8a72bc5b4d90a701c5341063.zip
external_mesa3d-180b152b247594bd8a72bc5b4d90a701c5341063.tar.gz
external_mesa3d-180b152b247594bd8a72bc5b4d90a701c5341063.tar.bz2
gallivm: Wrap deleted inlcude in if HAVE_LLVM < 0x0306
This was missed in 8f4ee56.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_misc.cpp')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_misc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index 1c42e8f..06d29bc 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -55,7 +55,9 @@
#include <llvm/Target/TargetOptions.h>
#include <llvm/ExecutionEngine/ExecutionEngine.h>
#include <llvm/ADT/Triple.h>
+#if HAVE_LLVM < 0x0306
#include <llvm/ExecutionEngine/JITMemoryManager.h>
+#endif
#include <llvm/Support/CommandLine.h>
#include <llvm/Support/Host.h>
#include <llvm/Support/PrettyStackTrace.h>