Mesa (master): gallivm: Fix build with LLVM 3.3

Tom Stellard tstellar at kemper.freedesktop.org
Thu May 2 16:02:56 UTC 2013


Module: Mesa
Branch: master
Commit: 4742f9b00b804dd01eb9955dd386a2373cd8eb36
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4742f9b00b804dd01eb9955dd386a2373cd8eb36

Author: Armin K <krejzi at email.com>
Date:   Thu May  2 12:55:04 2013 +0200

gallivm: Fix build with LLVM 3.3

Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

---

 src/gallium/auxiliary/gallivm/lp_bld_misc.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index 717afa7..a531d98 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -68,7 +68,9 @@
 #endif /* HAVE_LLVM < 0x0300 */
 
 #if HAVE_LLVM >= 0x0303
-#include <llvm/Wrap.h>
+#include <llvm/IR/IRBuilder.h>
+#include <llvm/IR/Module.h>
+#include <llvm/Support/CBindingWrapping.h>
 #endif
 
 #include "pipe/p_config.h"




More information about the mesa-commit mailing list