mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibCore: Fix SocketAddress.h compilation errors on Windows
This commit is contained in:
parent
9b8120d8e8
commit
eb650798d0
Notes:
github-actions[bot]
2025-02-05 23:09:13 +00:00
Author: https://github.com/stasoid
Commit: eb650798d0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2673
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/gmta
Reviewed-by: https://github.com/konradekk
2 changed files with 91 additions and 5 deletions
|
@ -9,11 +9,15 @@
|
|||
|
||||
#include <AK/IPv4Address.h>
|
||||
#include <AK/IPv6Address.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h>
|
||||
#include <string.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
|
||||
#ifndef AK_OS_WINDOWS
|
||||
# include <arpa/inet.h>
|
||||
# include <netinet/in.h>
|
||||
# include <sys/socket.h>
|
||||
# include <sys/un.h>
|
||||
#else
|
||||
# include "SocketAddressWindows.h"
|
||||
#endif
|
||||
|
||||
namespace Core {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue