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:
parent
3eefa464ee
commit
49bdda1475
Notes:
github-actions[bot]
2025-01-02 17:18:48 +00:00
Author: https://github.com/stasoid
Commit: 49bdda1475
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2674
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/konradekk
4 changed files with 24 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue