LibCore: Do not include SocketAddressWindows.h in System.h

SocketAddressWindows.h contains (re)definitions of a bunch of system-
level types. This leads to a bunch of conflicts when trying to include
proper Windows headers in SystemWindows.cpp. This patch removes this
inclusion and just forward-declares the couple of types we need.
This commit is contained in:
Timothy Flynn 2025-11-30 10:21:31 -05:00 committed by Tim Flynn
parent 2d22ef0db5
commit 5c88c3718b
Notes: github-actions[bot] 2025-12-01 11:35:42 +00:00
4 changed files with 9 additions and 1 deletions

View file

@ -11,6 +11,7 @@
#include <LibCore/Event.h>
#include <LibCore/EventReceiver.h>
#include <LibCore/Notifier.h>
#include <LibCore/SocketAddress.h>
#include <LibCore/System.h>
#include <LibCore/ThreadEventQueue.h>
#include <LibThreading/Mutex.h>