libstrat: fix building for windows target

This commit is contained in:
hexkyz committed 2026-10-11 22:59:40 +01:00
1 parent eccd393126
commit c7e6c35e90
2 files changed
+13 -7

No files matched your search

@@ -167,7 +167,11 @@ namespace ams::socket {
int ai_family;
int ai_socktype;
int ai_protocol;
#if defined(ATMOSPHERE_OS_WINDOWS)
int ai_addrlen;
#else
socklen_t ai_addrlen;
#endif
struct sockaddr *ai_addr;
struct ares_addrinfo_node *ai_next;
};