OSDN Git Service

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 ac8e10b..86617d4 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 024819e..717afa7 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"