From fc8bad2e9cea4cf7b0687f793a9640984a600dc5 Mon Sep 17 00:00:00 2001 From: Dima Pulkinen Date: Fri, 12 Jul 2024 15:00:45 +0300 Subject: [PATCH] sockaddr_storage is included in new pspsdk --- src/usocket.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/usocket.h b/src/usocket.h index 835821a..3e21b24 100644 --- a/src/usocket.h +++ b/src/usocket.h @@ -38,19 +38,6 @@ #define INET6_ADDRSTRLEN INET_ADDRSTRLEN #endif -/* Replacement for sockaddr storage that we can use internally on platforms - * that lack it. It is not space-efficient, but neither is sockaddr_storage. - */ -struct sockaddr_storage { - union { - struct sockaddr ss_sa; - struct sockaddr_in ss_sin; -#ifndef NOIPV6 - struct sockaddr_in6 ss_sin6; -#endif - char ss_padding[128]; - } ss_union; -}; #endif #ifndef SO_REUSEPORT