diff options
Diffstat (limited to 'passes/hierarchy/hierarchy.cc')
-rw-r--r-- | passes/hierarchy/hierarchy.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/passes/hierarchy/hierarchy.cc b/passes/hierarchy/hierarchy.cc index 4b414d3cb..2a7e96346 100644 --- a/passes/hierarchy/hierarchy.cc +++ b/passes/hierarchy/hierarchy.cc @@ -21,7 +21,11 @@ #include <stdlib.h> #include <stdio.h> #include <set> -#include <unistd.h> + +#ifndef _WIN32 +# include <unistd.h> +#endif + USING_YOSYS_NAMESPACE PRIVATE_NAMESPACE_BEGIN |