From: Martin Schmölzer Date: Tue, 14 Jan 2014 19:12:45 +0000 (+0100) Subject: Include unistd.h in passes/hierarchy/hierarchy.cc (required for access(3)) X-Git-Tag: yosys-0.2.0~172^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa17f16fecbdb758c50d45e500e03b4fbf177186;p=yosys.git Include unistd.h in passes/hierarchy/hierarchy.cc (required for access(3)) This fixes compilation errors on Arch Linux. Signed-off-by: Martin Schmölzer --- diff --git a/passes/hierarchy/hierarchy.cc b/passes/hierarchy/hierarchy.cc index f77ded9d2..01e287e94 100644 --- a/passes/hierarchy/hierarchy.cc +++ b/passes/hierarchy/hierarchy.cc @@ -23,6 +23,7 @@ #include #include #include +#include namespace { struct generate_port_decl_t {