mirror of
https://github.com/zebrajr/ladybird.git
synced 2026-01-15 12:15:15 +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.