summaryrefslogtreecommitdiffstats
path: root/libc-bottom-half/headers/public/__struct_sockaddr_un.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc-bottom-half/headers/public/__struct_sockaddr_un.h')
-rw-r--r--libc-bottom-half/headers/public/__struct_sockaddr_un.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libc-bottom-half/headers/public/__struct_sockaddr_un.h b/libc-bottom-half/headers/public/__struct_sockaddr_un.h
index a5be6e5..6371194 100644
--- a/libc-bottom-half/headers/public/__struct_sockaddr_un.h
+++ b/libc-bottom-half/headers/public/__struct_sockaddr_un.h
@@ -1,13 +1,10 @@
#ifndef __wasilibc___struct_sockaddr_un_h
#define __wasilibc___struct_sockaddr_un_h
-#define __need_STDDEF_H_misc
-#include <stddef.h>
-
#include <__typedef_sa_family_t.h>
struct sockaddr_un {
- _Alignas(max_align_t) sa_family_t sun_family;
+ __attribute__((aligned(__BIGGEST_ALIGNMENT__))) sa_family_t sun_family;
};
#endif