From 2fec6889830112de95905979810690aba7cf7815 Mon Sep 17 00:00:00 2001 From: hexkyz Date: Wed, 14 Oct 2026 22:23:03 +0100 Subject: [PATCH] libstrat: account for sockaddr as well in windows target --- .../include/stratosphere/socket/socket_types.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/libstratosphere/include/stratosphere/socket/socket_types.hpp b/libraries/libstratosphere/include/stratosphere/socket/socket_types.hpp index 5d54dda64..2435b8801 100644 --- a/libraries/libstratosphere/include/stratosphere/socket/socket_types.hpp +++ b/libraries/libstratosphere/include/stratosphere/socket/socket_types.hpp @@ -169,10 +169,11 @@ namespace ams::socket { int ai_protocol; #if defined(ATMOSPHERE_OS_WINDOWS) int ai_addrlen; + void *ai_addr; #else socklen_t ai_addrlen; - #endif struct sockaddr *ai_addr; + #endif struct ares_addrinfo_node *ai_next; };