1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-08 05:27:14 +09:00

AK: Simplify usage of windows.h and winsock2.h

Use <AK/Windows.h> instead of windows.h/winsock2.h
to avoid timeval-related errors.

Note: winsock2.h includes windows.h
This commit is contained in:
stasoid 2024-12-01 14:43:10 +05:00 committed by Andrew Kaster
parent 3eefa464ee
commit 49bdda1475
Notes: github-actions[bot] 2025-01-02 17:18:48 +00:00
4 changed files with 24 additions and 9 deletions

View file

@ -8,8 +8,8 @@
#include <LibCore/EventLoopImplementationWindows.h>
#include <LibCore/Notifier.h>
#include <LibCore/ThreadEventQueue.h>
#include <WinSock2.h>
#include <io.h>
#include <AK/Windows.h>
struct Handle {
HANDLE handle = NULL;