From 1baa4b4729eb0aa2c15b7267bd596508d7956050 Mon Sep 17 00:00:00 2001 From: pajlada Date: Sun, 18 May 2025 13:02:03 +0200 Subject: [PATCH] import cstdlib in rungui, use _Exit (#6218) i don't want to include stdlib.h --- src/RunGui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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