Include unistd.h in passes/hierarchy/hierarchy.cc (required for access(3))
authorMartin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
Tue, 14 Jan 2014 19:12:45 +0000 (20:12 +0100)
committerMartin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
Tue, 14 Jan 2014 19:12:45 +0000 (20:12 +0100)
This fixes compilation errors on Arch Linux.

Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
passes/hierarchy/hierarchy.cc

index f77ded9d23d5e0ab786a91a99226f885b67e2012..01e287e949e35ef41271b61fe31f8fa0671e8cf4 100644 (file)
@@ -23,6 +23,7 @@
 #include <stdio.h>
 #include <fnmatch.h>
 #include <set>
+#include <unistd.h>
 
 namespace {
        struct generate_port_decl_t {