diff --git a/usr/include/arm-linux-ohosmusl/sys/socket.h b/usr/include/arm-linux-ohosmusl/sys/socket.h index 38f5bb17b3b8d1fa9eeedff4b90fd6b919e383f6..7add9850a424ef98cd2fa6c3c429036d0d300d83 100644 --- a/usr/include/arm-linux-ohosmusl/sys/socket.h +++ b/usr/include/arm-linux-ohosmusl/sys/socket.h @@ -19,6 +19,8 @@ extern "C" { #include +#include + struct msghdr { void *msg_name; socklen_t msg_namelen; @@ -369,12 +371,6 @@ struct sockaddr { char sa_data[14]; }; -struct sockaddr_storage { - sa_family_t ss_family; - char __ss_padding[128-sizeof(long)-sizeof(sa_family_t)]; - unsigned long __ss_align; -}; - int socket (int, int, int); int socketpair (int, int, int, int [2]);