From ead4db420e9e5408f41c70768a290592a384aedb Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 23 Apr 2013 10:57:54 -0400 Subject: [PATCH] gallivm: Fix build with LLVM >= r180063 --- src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 4 ++++ src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp index ac8e10bbd5c..86617d4c3c8 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp @@ -56,6 +56,10 @@ #include #endif /* HAVE_LLVM >= 0x0301 */ +#if HAVE_LLVM >= 0x0303 +#include +#endif + #include "util/u_math.h" #include "util/u_debug.h" diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp index 024819ece19..717afa78074 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp @@ -67,6 +67,10 @@ #include #endif /* HAVE_LLVM < 0x0300 */ +#if HAVE_LLVM >= 0x0303 +#include +#endif + #include "pipe/p_config.h" #include "util/u_debug.h" #include "util/u_cpu_detect.h" -- 2.30.2