about summary refs log tree commit diff
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, 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);