sys/socket.h: Add sockaddr_storage struct
@@ -20,7 +20,10 @@ struct sockaddr {
char sa_data[];
};
-//MISSING: struct sockaddr_storage
+struct sockaddr_storage {
+ sa_family_t ss_family;
+ char __padding[128 - sizeof(sa_family_t)];
+};
struct msghdr {
void *msg_name;
