mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user