diff options
author | David Shah <dave@ds0.me> | 2019-08-08 11:40:09 +0100 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2019-08-08 11:40:09 +0100 |
commit | 83b2e0272333cfcc2529e0833723a52c066146a6 (patch) | |
tree | 9985b7f840383419ebd5b189023ca6871a02d5a9 /misc | |
parent | b8cd4ad64ae9a45faecffc1a6b92a8219755bc60 (diff) | |
parent | fb568ddb4e2ccaab352d9d062f6b4926aca75680 (diff) | |
download | yosys-83b2e0272333cfcc2529e0833723a52c066146a6.tar.gz yosys-83b2e0272333cfcc2529e0833723a52c066146a6.tar.bz2 yosys-83b2e0272333cfcc2529e0833723a52c066146a6.zip |
Merge branch 'xc7dsp' of github.com:YosysHQ/yosys into xc7dsp
Diffstat (limited to 'misc')
-rw-r--r-- | misc/launcher.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/launcher.c b/misc/launcher.c index 157d68cf3..e0d8208f1 100644 --- a/misc/launcher.c +++ b/misc/launcher.c @@ -61,6 +61,7 @@ SOFTWARE. */ #include <windows.h> #include <tchar.h> #include <fcntl.h> +#include <unistd.h> int child_pid=0; @@ -338,7 +339,7 @@ int run(int argc, char **argv, int is_gui) { if (is_gui) { /* Use exec, we don't need to wait for the GUI to finish */ - execv(ptr, (const char * const *)(newargs)); + execv(ptr, (char * const *)(newargs)); return fail("Could not exec %s", ptr); /* shouldn't get here! */ } |