summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-04-23 10:57:54 -0400
committerTom Stellard <thomas.stellard@amd.com>2013-04-23 11:53:05 -0400
commitead4db420e9e5408f41c70768a290592a384aedb (patch)
tree10cb3a3f4f8e10f2b0af1d8bc6b6e2a7d9718e2e /src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
parent1fb8c3ce5568e08a176929a4b27d2889599ede7c (diff)
downloadexternal_mesa3d-ead4db420e9e5408f41c70768a290592a384aedb.zip
external_mesa3d-ead4db420e9e5408f41c70768a290592a384aedb.tar.gz
external_mesa3d-ead4db420e9e5408f41c70768a290592a384aedb.tar.bz2
gallivm: Fix build with LLVM >= r180063
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_debug.cpp')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_debug.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
index ac8e10b..86617d4 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
@@ -56,6 +56,10 @@
#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"