summaryrefslogtreecommitdiff
path: root/include/sys/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/socket.h')
-rw-r--r--include/sys/socket.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h
index 4005eb6d..71d9b884 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -26,8 +26,10 @@ struct sockaddr
struct sockaddr_storage
{
sa_family_t ss_family;
- long long __ss_align;
- char __ss_padding[128 - sizeof(sa_family_t) - sizeof(long long)];
+ union {
+ long long __align;
+ char __padding[126];
+ } __padding;
};
int socket (int, int, int);