diff --git a/Userland/Libraries/LibCore/StandardPaths.cpp b/Userland/Libraries/LibCore/StandardPaths.cpp index feea2afa9e..da3cdc1563 100644 --- a/Userland/Libraries/LibCore/StandardPaths.cpp +++ b/Userland/Libraries/LibCore/StandardPaths.cpp @@ -8,8 +8,8 @@ #include #include #include +#include #include -#include #include #include #include @@ -92,7 +92,7 @@ ErrorOr StandardPaths::runtime_directory() StringBuilder builder; #if defined(AK_OS_SERENITY) - auto sid = TRY(Core::System::getsid()); + auto sid = TRY(Core::SessionManagement::root_session_id()); builder.appendff("/tmp/session/{}", sid); #elif defined(AK_OS_MACOS) builder.append(home_directory());