LibCore: Only include BeepInstruction in System.cpp on Serenity

(cherry picked from commit f98e28912a9c700e78f6e57eb497fd3eb3134661;
amended to not delete BeepInstruction.h, and to not insert a stray
newline after lstat)
This commit is contained in:
Andrew Kaster 2024-06-05 18:46:21 -06:00 committed by Nico Weber
parent 05fffee336
commit f97e5a7088

View file

@ -14,7 +14,6 @@
#include <AK/StdLibExtras.h>
#include <AK/String.h>
#include <AK/Vector.h>
#include <Kernel/API/BeepInstruction.h>
#include <LibCore/Environment.h>
#include <LibCore/SessionManagement.h>
#include <LibCore/System.h>
@ -29,6 +28,7 @@
#include <unistd.h>
#ifdef AK_OS_SERENITY
# include <Kernel/API/BeepInstruction.h>
# include <Kernel/API/Unveil.h>
# include <LibCore/Account.h>
# include <LibSystem/syscall.h>