diff --git a/compat/mingw.c b/compat/mingw.c index 8b7b526d9f6fa6..380fb0107000a6 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -4021,6 +4021,8 @@ int wmain(int argc, const wchar_t **wargv) SetConsoleCtrlHandler(handle_ctrl_c, TRUE); + trace2_initialize_clock(); + maybe_redirect_std_handles(); adjust_symlink_flags(); fsync_object_files = 1;