From 446269ef596e30365eb01e930d525b845be7b9bf Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Thu, 2 Oct 2008 12:28:43 +0200 Subject: LLVM compiler: Restore capability of building on Mac OS X 10.4. --- MLKLLVMCompiler.mm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MLKLLVMCompiler.mm b/MLKLLVMCompiler.mm index 5428927..da4710d 100644 --- a/MLKLLVMCompiler.mm +++ b/MLKLLVMCompiler.mm @@ -57,8 +57,10 @@ #include #ifdef MACOSX -#include #include +#if defined(OBJC_API_VERSION) && OBJC_API_VERSION >= 2 +#include +#endif #endif using namespace llvm; -- cgit v1.2.3