diff options
author | William Speirs <bill.speirs@gmail.com> | 2014-10-16 12:06:54 -0400 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-10-17 11:41:36 +0200 |
commit | 31267a1ae8d670c4b8749fc55b07c01d9285a488 (patch) | |
tree | 678fb6b416aef122cbb9b9affd5f9c702dc2ce03 /kernel/driver.cc | |
parent | fda52f05f277720e12aadb4716415ec9bff616a5 (diff) | |
download | yosys-31267a1ae8d670c4b8749fc55b07c01d9285a488.tar.gz yosys-31267a1ae8d670c4b8749fc55b07c01d9285a488.tar.bz2 yosys-31267a1ae8d670c4b8749fc55b07c01d9285a488.zip |
Header changes so it will compile on VS
Diffstat (limited to 'kernel/driver.cc')
-rw-r--r-- | kernel/driver.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/kernel/driver.cc b/kernel/driver.cc index 8117a61c5..7f2cdb325 100644 --- a/kernel/driver.cc +++ b/kernel/driver.cc @@ -27,11 +27,14 @@ #include <stdio.h> #include <string.h> -#include <unistd.h> -#include <libgen.h> #include <limits.h> #include <errno.h> +#ifndef _WIN32 +# include <unistd.h> +#endif + + USING_YOSYS_NAMESPACE int main(int argc, char **argv) |