mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-05 01:10:24 +00:00
SocketAddressWindows.h contains a bunch of copy-pasted Windows definitions. This started causing ad-nauseam redefinition errors when implementing the HTTP disk cache for Windows. Instead, let's forward-declare the types we can in SocketAddress.h and only define the couple of constants that we need. We can then assert at compile-time that we defined them correctly.