Sfoglia il codice sorgente

LibWebSocket: Clean up #include directives

This change aims to improve the speed of incremental builds.
Pavel Shliak 8 mesi fa
parent
commit
001df24935

+ 1 - 0
Libraries/LibWeb/Platform/AudioCodecPluginAgnostic.h

@@ -6,6 +6,7 @@
 
 
 #pragma once
 #pragma once
 
 
+#include <LibCore/Timer.h>
 #include <LibMedia/Audio/PlaybackStream.h>
 #include <LibMedia/Audio/PlaybackStream.h>
 #include <LibWeb/Platform/AudioCodecPlugin.h>
 #include <LibWeb/Platform/AudioCodecPlugin.h>
 
 

+ 0 - 3
Libraries/LibWebSocket/ConnectionInfo.h

@@ -7,11 +7,8 @@
 #pragma once
 #pragma once
 
 
 #include <AK/Vector.h>
 #include <AK/Vector.h>
-#include <LibCore/EventReceiver.h>
 #include <LibHTTP/HeaderMap.h>
 #include <LibHTTP/HeaderMap.h>
-#include <LibTLS/TLSv12.h>
 #include <LibURL/URL.h>
 #include <LibURL/URL.h>
-#include <LibWebSocket/Message.h>
 
 
 namespace WebSocket {
 namespace WebSocket {
 
 

+ 1 - 0
Libraries/LibWebSocket/Impl/WebSocketImplSerenity.cpp

@@ -8,6 +8,7 @@
 
 
 #include <LibCore/EventLoop.h>
 #include <LibCore/EventLoop.h>
 #include <LibCore/Socket.h>
 #include <LibCore/Socket.h>
+#include <LibTLS/TLSv12.h>
 #include <LibWebSocket/Impl/WebSocketImplSerenity.h>
 #include <LibWebSocket/Impl/WebSocketImplSerenity.h>
 
 
 namespace WebSocket {
 namespace WebSocket {

+ 0 - 1
Libraries/LibWebSocket/WebSocket.cpp

@@ -10,7 +10,6 @@
 #include <LibCrypto/Hash/HashManager.h>
 #include <LibCrypto/Hash/HashManager.h>
 #include <LibWebSocket/Impl/WebSocketImplSerenity.h>
 #include <LibWebSocket/Impl/WebSocketImplSerenity.h>
 #include <LibWebSocket/WebSocket.h>
 #include <LibWebSocket/WebSocket.h>
-#include <unistd.h>
 
 
 namespace WebSocket {
 namespace WebSocket {
 
 

+ 1 - 0
Services/RequestServer/ConnectionFromClient.cpp

@@ -12,6 +12,7 @@
 #include <LibCore/Proxy.h>
 #include <LibCore/Proxy.h>
 #include <LibCore/Socket.h>
 #include <LibCore/Socket.h>
 #include <LibRequests/NetworkErrorEnum.h>
 #include <LibRequests/NetworkErrorEnum.h>
+#include <LibTLS/TLSv12.h>
 #include <LibTextCodec/Decoder.h>
 #include <LibTextCodec/Decoder.h>
 #include <LibWebSocket/ConnectionInfo.h>
 #include <LibWebSocket/ConnectionInfo.h>
 #include <LibWebSocket/Message.h>
 #include <LibWebSocket/Message.h>