diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-03-04 17:05:45 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-03-04 17:05:45 -0500 |
commit | 8c741783fc96d559cfe79301c924c217b2905c0c (patch) | |
tree | 7cb6040429516c83e696dbc8fc7a6e96ea3dd2fe /include/sys | |
parent | 99727dad25c6fd852291beef5e0da0a8d2ec8208 (diff) | |
download | musl-8c741783fc96d559cfe79301c924c217b2905c0c.tar.gz musl-8c741783fc96d559cfe79301c924c217b2905c0c.tar.bz2 musl-8c741783fc96d559cfe79301c924c217b2905c0c.tar.xz musl-8c741783fc96d559cfe79301c924c217b2905c0c.zip |
fix some obscure header type size/alignment issues
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/socket.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h index cf042eb1..97126669 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -239,10 +239,8 @@ struct sockaddr struct sockaddr_storage { sa_family_t ss_family; - union { - long long __align; - char __padding[126]; - } __padding; + unsigned long __ss_align; + char __ss_padding[128-2*sizeof(unsigned long)]; }; int socket (int, int, int); |