diff --git a/Userland/sleep.cpp b/Userland/sleep.cpp index 025a144300..c21c06b814 100644 --- a/Userland/sleep.cpp +++ b/Userland/sleep.cpp @@ -30,7 +30,7 @@ #include #include -static bool g_interrupted; +static volatile bool g_interrupted; static void handle_sigint(int) { g_interrupted = true;