gallivm: Fix build with LLVM >= r180063
authorTom Stellard <thomas.stellard@amd.com>
Tue, 23 Apr 2013 14:57:54 +0000 (10:57 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 23 Apr 2013 15:53:05 +0000 (11:53 -0400)
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp

index ac8e10bbd5c3e74aa5d8ec61aa22a68db8ab36b1..86617d4c3c8c487608c5c124a362bad5c69805a3 100644 (file)
 #include <llvm/MC/MCRegisterInfo.h>
 #endif /* HAVE_LLVM >= 0x0301 */
 
+#if HAVE_LLVM >= 0x0303
+#include <llvm/ADT/OwningPtr.h>
+#endif
+
 #include "util/u_math.h"
 #include "util/u_debug.h"
 
index 024819ece190e97d98a9a81b5b7a6168d518d563..717afa78074890c5f864a0ce931cdf723ebc4509 100644 (file)
 #include <llvm/Target/TargetSelect.h>
 #endif /* HAVE_LLVM < 0x0300 */
 
+#if HAVE_LLVM >= 0x0303
+#include <llvm/Wrap.h>
+#endif
+
 #include "pipe/p_config.h"
 #include "util/u_debug.h"
 #include "util/u_cpu_detect.h"