diff options
Diffstat (limited to 'passes/cmds/show.cc')
-rw-r--r-- | passes/cmds/show.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/passes/cmds/show.cc b/passes/cmds/show.cc index c6335cb30..1413742df 100644 --- a/passes/cmds/show.cc +++ b/passes/cmds/show.cc @@ -21,7 +21,10 @@ #include "kernel/celltypes.h" #include "kernel/log.h" #include <string.h> -#include <dirent.h> + +#ifndef _WIN32 +# include <dirent.h> +#endif #ifdef YOSYS_ENABLE_READLINE # include <readline/readline.h> |