]> git.proxmox.com Git - wasi-libc.git/blob - libc-bottom-half/headers/public/__struct_sockaddr.h
Avoid depending on `max_align_t` in <__struct_sockaddr.h>.
[wasi-libc.git] / libc-bottom-half / headers / public / __struct_sockaddr.h
1 #ifndef __wasilibc___struct_sockaddr_h
2 #define __wasilibc___struct_sockaddr_h
3
4 #define __need_STDDEF_H_misc
5 #include <stddef.h>
6
7 #include <__typedef_sa_family_t.h>
8
9 struct sockaddr {
10 __attribute__((aligned(__BIGGEST_ALIGNMENT__))) sa_family_t sa_family;
11 char sa_data[0];
12 };
13
14 #endif