[Mesa-dev] [PATCH] radeon: Fix build with LLVM 3.3
Armin K
krejzi at email.com
Thu May 2 03:55:05 PDT 2013
---
src/gallium/drivers/radeon/radeon_llvm_emit.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.cpp b/src/gallium/drivers/radeon/radeon_llvm_emit.cpp
index 55dad9b..e0ea31d 100644
--- a/src/gallium/drivers/radeon/radeon_llvm_emit.cpp
+++ b/src/gallium/drivers/radeon/radeon_llvm_emit.cpp
@@ -30,11 +30,13 @@
#include <llvm/Module.h>
#include <llvm/Function.h>
#include <llvm/DataLayout.h>
+#include <llvm/Wrap.h>
#else
#include <llvm/IR/LLVMContext.h>
#include <llvm/IR/Module.h>
#include <llvm/IR/Function.h>
#include <llvm/IR/DataLayout.h>
+#include <llvm/Support/CBindingWrapping.h>
#endif
#include <llvm/PassManager.h>
@@ -47,7 +49,6 @@
#include <llvm/Support/Threading.h>
#include <llvm/Target/TargetMachine.h>
#include <llvm/Transforms/Scalar.h>
-#include <llvm/Wrap.h>
#include <llvm-c/Target.h>
#include <iostream>
--
1.8.2.2
More information about the mesa-dev
mailing list