aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Lothian <[email protected]>2013-04-01 10:50:23 -0700
committerTom Stellard <[email protected]>2013-04-01 10:50:23 -0700
commit777a7f2003f260cc383f14029413f48101ae5718 (patch)
tree165cb1334ed356e59c5c0ad47aca1d019defa708
parent1165ff1af1853c9f1156221e1225ed5fb92a4507 (diff)
clover: Fix build with LLVM 3.3
-rw-r--r--src/gallium/state_trackers/clover/llvm/invocation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp
index 2785d10310a..1cad15c1d1d 100644
--- a/src/gallium/state_trackers/clover/llvm/invocation.cpp
+++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp
@@ -37,7 +37,8 @@
#include <llvm/IR/DerivedTypes.h>
#include <llvm/IR/LLVMContext.h>
#include <llvm/IR/Module.h>
-#include <llvm/Support/IRReader.h>
+#include <llvm/Support/SourceMgr.h>
+#include <llvm/IRReader/IRReader.h>
#endif
#include <llvm/PassManager.h>
#include <llvm/Support/TargetSelect.h>