From: Parviz Palangpour Date: Sat, 18 Oct 2014 19:26:49 +0000 (-0500) Subject: Builds on Mac 10.9.2 with LLVM 3.5. X-Git-Tag: yosys-0.4~25^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de8adb8ec538913b93662198cf12c0f2a3b72630;p=yosys.git Builds on Mac 10.9.2 with LLVM 3.5. --- 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