fix some struct padding to match LSB/glibc ABI where it may be helpful

This commit is contained in:
Rich Felker 2011-06-16 17:11:35 -04:00
commit 7f5471529c
2 changed files with 5 additions and 2 deletions

View file

@ -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);