diff options
Diffstat (limited to 'platform/sysroot/usr/include/sys/socket.h')
-rw-r--r-- | platform/sysroot/usr/include/sys/socket.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/platform/sysroot/usr/include/sys/socket.h b/platform/sysroot/usr/include/sys/socket.h index 22b88cba4..9402e7007 100644 --- a/platform/sysroot/usr/include/sys/socket.h +++ b/platform/sysroot/usr/include/sys/socket.h @@ -39,6 +39,7 @@ #include <linux/types.h> #include <linux/compiler.h> +#include <bits/sockaddr_storage.h> #include <bits/sa_family_t.h> __BEGIN_DECLS @@ -72,15 +73,6 @@ struct sockaddr { #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wnullability-completeness" -struct sockaddr_storage { - union { - struct { - sa_family_t ss_family; - char __data[128 - sizeof(sa_family_t)]; - }; - void* __align; - }; -}; struct linger { int l_onoff; |