diff --git a/Userland/Applications/Browser/Tab.h b/Userland/Applications/Browser/Tab.h index 3dd7f54d43..2334631094 100644 --- a/Userland/Applications/Browser/Tab.h +++ b/Userland/Applications/Browser/Tab.h @@ -14,8 +14,6 @@ #include #include #include -#include -#include #include namespace WebView { diff --git a/Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp b/Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp index 7b675c588a..47247ba197 100644 --- a/Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp +++ b/Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp @@ -9,6 +9,7 @@ #include "BackgroundSettingsWidget.h" #include #include +#include #include #include #include @@ -26,9 +27,6 @@ #include #include -// Including this after to avoid LibIPC errors -#include - namespace DisplaySettings { BackgroundSettingsWidget::BackgroundSettingsWidget(bool& background_settings_changed) diff --git a/Userland/Applications/KeyboardSettings/main.cpp b/Userland/Applications/KeyboardSettings/main.cpp index 9db04a1784..7d36b7db9d 100644 --- a/Userland/Applications/KeyboardSettings/main.cpp +++ b/Userland/Applications/KeyboardSettings/main.cpp @@ -6,15 +6,13 @@ */ #include "KeyboardSettingsWidget.h" +#include #include #include #include #include #include -// Including this after to avoid LibIPC errors -#include - ErrorOr serenity_main(Main::Arguments arguments) { TRY(Core::System::pledge("stdio rpath recvfd sendfd unix proc exec")); diff --git a/Userland/Applications/SoundPlayer/main.cpp b/Userland/Applications/SoundPlayer/main.cpp index f390439817..baef8a3ce3 100644 --- a/Userland/Applications/SoundPlayer/main.cpp +++ b/Userland/Applications/SoundPlayer/main.cpp @@ -5,9 +5,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -// FIXME: LibIPC Decoder and Encoder are sensitive to include order here -#include - #include "AlbumCoverVisualizationWidget.h" #include "BarsVisualizationWidget.h" #include "Player.h" @@ -24,6 +21,7 @@ #include #include #include +#include #include ErrorOr serenity_main(Main::Arguments arguments) diff --git a/Userland/Applications/TerminalSettings/main.cpp b/Userland/Applications/TerminalSettings/main.cpp index 1deafcc8a2..2bd9fb80da 100644 --- a/Userland/Applications/TerminalSettings/main.cpp +++ b/Userland/Applications/TerminalSettings/main.cpp @@ -5,6 +5,7 @@ */ #include "TerminalSettingsWidget.h" +#include #include #include #include @@ -12,9 +13,6 @@ #include #include -// Including this after to avoid LibIPC errors -#include - ErrorOr serenity_main(Main::Arguments arguments) { TRY(Core::System::pledge("stdio rpath recvfd sendfd unix")); diff --git a/Userland/Applications/ThemeEditor/MainWidget.cpp b/Userland/Applications/ThemeEditor/MainWidget.cpp index 46b40ee6e9..0061597cba 100644 --- a/Userland/Applications/ThemeEditor/MainWidget.cpp +++ b/Userland/Applications/ThemeEditor/MainWidget.cpp @@ -15,15 +15,12 @@ #include #include #include -// FIXME: LibIPC Decoder and Encoder are sensitive to include order here -// clang-format off -#include -// clang-format on #include #include #include #include #include +#include #include #include #include diff --git a/Userland/Libraries/LibFileSystemAccessClient/Client.cpp b/Userland/Libraries/LibFileSystemAccessClient/Client.cpp index 00bf0382e7..3c6f68bc34 100644 --- a/Userland/Libraries/LibFileSystemAccessClient/Client.cpp +++ b/Userland/Libraries/LibFileSystemAccessClient/Client.cpp @@ -5,13 +5,10 @@ * SPDX-License-Identifier: BSD-2-Clause */ -// FIXME: LibIPC Decoder and Encoder are sensitive to include order here -// clang-format off -#include -// clang-format on #include #include #include +#include #include #include diff --git a/Userland/Libraries/LibGUI/Desktop.cpp b/Userland/Libraries/LibGUI/Desktop.cpp index 1b703f6391..271c3b50fb 100644 --- a/Userland/Libraries/LibGUI/Desktop.cpp +++ b/Userland/Libraries/LibGUI/Desktop.cpp @@ -7,13 +7,11 @@ #include #include +#include #include #include #include -// Including this after to avoid LibIPC errors -#include - namespace GUI { Desktop& Desktop::the() diff --git a/Userland/Libraries/LibProtocol/RequestClient.h b/Userland/Libraries/LibProtocol/RequestClient.h index cf8efe1856..3ae788645f 100644 --- a/Userland/Libraries/LibProtocol/RequestClient.h +++ b/Userland/Libraries/LibProtocol/RequestClient.h @@ -7,8 +7,6 @@ #pragma once #include -// Need to include this before RequestClientEndpoint.h as that one includes LibIPC/(De En)coder.h, which would bomb if included before this. -#include #include #include #include diff --git a/Userland/Libraries/LibWebView/WebContentClient.h b/Userland/Libraries/LibWebView/WebContentClient.h index c8c4752259..5f05a31c4a 100644 --- a/Userland/Libraries/LibWebView/WebContentClient.h +++ b/Userland/Libraries/LibWebView/WebContentClient.h @@ -8,7 +8,6 @@ #include #include -#include #include #include diff --git a/Userland/Services/FileSystemAccessServer/ConnectionFromClient.cpp b/Userland/Services/FileSystemAccessServer/ConnectionFromClient.cpp index d701ec242b..2669a59abf 100644 --- a/Userland/Services/FileSystemAccessServer/ConnectionFromClient.cpp +++ b/Userland/Services/FileSystemAccessServer/ConnectionFromClient.cpp @@ -4,15 +4,12 @@ * SPDX-License-Identifier: BSD-2-Clause */ -// FIXME: LibIPC Decoder and Encoder are sensitive to include order here -// clang-format off -#include -// clang-format on #include #include #include #include #include +#include #include #include diff --git a/Userland/Services/NotificationServer/ConnectionFromClient.h b/Userland/Services/NotificationServer/ConnectionFromClient.h index cbc81bb573..903ebab89b 100644 --- a/Userland/Services/NotificationServer/ConnectionFromClient.h +++ b/Userland/Services/NotificationServer/ConnectionFromClient.h @@ -7,11 +7,9 @@ #pragma once #include -#include - -// Must be included after WindowServer/ScreenLayout.h #include #include +#include namespace NotificationServer { diff --git a/Userland/Services/RequestServer/ConnectionFromClient.h b/Userland/Services/RequestServer/ConnectionFromClient.h index 3fca6387d2..fb7ae2a76f 100644 --- a/Userland/Services/RequestServer/ConnectionFromClient.h +++ b/Userland/Services/RequestServer/ConnectionFromClient.h @@ -7,8 +7,6 @@ #pragma once #include -// Need to include this before RequestClientEndpoint.h as that one includes LibIPC/(De En)coder.h, which would bomb if included before this. -#include #include #include #include diff --git a/Userland/Services/WebContent/ConnectionFromClient.cpp b/Userland/Services/WebContent/ConnectionFromClient.cpp index 5dd166adc0..50b376dbd8 100644 --- a/Userland/Services/WebContent/ConnectionFromClient.cpp +++ b/Userland/Services/WebContent/ConnectionFromClient.cpp @@ -19,7 +19,6 @@ #include #include #include -#include #include #include #include diff --git a/Userland/Services/WebContent/ConnectionFromClient.h b/Userland/Services/WebContent/ConnectionFromClient.h index da276be9fe..3de21bb633 100644 --- a/Userland/Services/WebContent/ConnectionFromClient.h +++ b/Userland/Services/WebContent/ConnectionFromClient.h @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include diff --git a/Userland/Services/WebContent/WebContentClient.ipc b/Userland/Services/WebContent/WebContentClient.ipc index ea18488e0a..fa770e8400 100644 --- a/Userland/Services/WebContent/WebContentClient.ipc +++ b/Userland/Services/WebContent/WebContentClient.ipc @@ -4,9 +4,6 @@ #include #include -// FIXME: This isn't used here, but the generated IPC fails to compile without this include. -#include - endpoint WebContentClient { did_start_loading(URL url) =| diff --git a/Userland/Services/WindowServer/ScreenLayout.ipp b/Userland/Services/WindowServer/ScreenLayout.ipp index 476c630d17..fd865f2ae6 100644 --- a/Userland/Services/WindowServer/ScreenLayout.ipp +++ b/Userland/Services/WindowServer/ScreenLayout.ipp @@ -6,15 +6,13 @@ #include #include +#include +#include #include #include #include #include -// Must be included after LibIPC/Forward.h -#include -#include - namespace WindowServer { bool ScreenLayout::is_valid(String* error_msg) const