Fix LLVM 3.1 build.

This commit is contained in:
David Nadlinger
2013-06-16 20:49:23 +02:00
parent 4774745f44
commit cfd5c052fe

View File

@@ -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 <map>
#include <vector>