diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-07-31 11:49:48 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-08-01 17:27:34 +0200 |
commit | 28b7053a01630def454e683f03953c74744da025 (patch) | |
tree | d4e488538478a2adb4348e97c541775e0ec35a17 /misc/launcher.c | |
parent | b4f38cca77a78884ce215190935af78cae92c4db (diff) | |
download | yosys-28b7053a01630def454e683f03953c74744da025.tar.gz yosys-28b7053a01630def454e683f03953c74744da025.tar.bz2 yosys-28b7053a01630def454e683f03953c74744da025.zip |
Fix formatting for msys2 mingw build using GetSize
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! */ } |