diff --git a/src/RunGui.cpp b/src/RunGui.cpp index bbeb0d3b..d7fee878 100644 --- a/src/RunGui.cpp +++ b/src/RunGui.cpp @@ -23,6 +23,7 @@ #include #include +#include #include #ifdef USEWINSDK @@ -162,7 +163,7 @@ namespace { proc.startDetached(); } - _exit(signum); + std::_Exit(signum); } // We want to restart Chatterino when it crashes and the setting is set to