diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-08-02 16:37:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-02 16:37:57 +0200 |
commit | f4ae6afc2282bcefac51b65e3905293cb19adc72 (patch) | |
tree | 2fef377b1811ef8030c4dbfdf5cabcada755cdd4 /misc/launcher.c | |
parent | e8a2d10982cd8f6ba3b0e66fbd922b051073f0cf (diff) | |
parent | 7a65ed19a5921ff219fd208d2712e09b5e5894dd (diff) | |
download | yosys-f4ae6afc2282bcefac51b65e3905293cb19adc72.tar.gz yosys-f4ae6afc2282bcefac51b65e3905293cb19adc72.tar.bz2 yosys-f4ae6afc2282bcefac51b65e3905293cb19adc72.zip |
Merge pull request #1239 from mmicko/mingw_fix
Fix formatting for msys2 mingw build
Diffstat (limited to 'misc/launcher.c')
-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! */ } |