From de8adb8ec538913b93662198cf12c0f2a3b72630 Mon Sep 17 00:00:00 2001 From: Parviz Palangpour Date: Sat, 18 Oct 2014 14:26:49 -0500 Subject: [PATCH] Builds on Mac 10.9.2 with LLVM 3.5. --- frontends/ast/ast.cc | 5 +++++ kernel/yosys.cc | 3 +++ 2 files changed, 8 insertions(+) diff --git a/frontends/ast/ast.cc b/frontends/ast/ast.cc index 87b073ff3..e41416efc 100644 --- a/frontends/ast/ast.cc +++ b/frontends/ast/ast.cc @@ -32,7 +32,12 @@ #include #include + +#if defined(__APPLE__) +#include +#else #include +#endif YOSYS_NAMESPACE_BEGIN diff --git a/kernel/yosys.cc b/kernel/yosys.cc index f314f546a..e9b113dd2 100644 --- a/kernel/yosys.cc +++ b/kernel/yosys.cc @@ -33,6 +33,9 @@ # include #elif defined(__APPLE__) # include +# include +# include +# include #else # include # include -- 2.30.2