From cfd5c052fe0bebf09406f12621f17539d99947ee Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sun, 16 Jun 2013 20:49:23 +0200 Subject: [PATCH] Fix LLVM 3.1 build. --- ir/irtypeaggr.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ir/irtypeaggr.h b/ir/irtypeaggr.h index 2c8579f4..2fdc7b9f 100644 --- a/ir/irtypeaggr.h +++ b/ir/irtypeaggr.h @@ -12,7 +12,11 @@ #include "ir/irtype.h" #include "llvm/ADT/ArrayRef.h" +#if LDC_LLVM_VER >= 302 #include "llvm/DebugInfo.h" +#else +#include "llvm/Analysis/DebugInfo.h" +#endif #include #include