mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-08-18 09:42:07 +00:00

Also, remove no longer necessary __need_STDDEF_H_misc stuff.
References:
https://github.com/WebAssembly/wasi-libc/pull/335
https://github.com/WebAssembly/wasi-sdk/issues/111
2e999b7dd1/clang/lib/Headers/stddef.h (L106-L113)
12 lines
240 B
C
12 lines
240 B
C
#ifndef __wasilibc___struct_sockaddr_h
|
|
#define __wasilibc___struct_sockaddr_h
|
|
|
|
#include <__typedef_sa_family_t.h>
|
|
|
|
struct sockaddr {
|
|
__attribute__((aligned(__BIGGEST_ALIGNMENT__))) sa_family_t sa_family;
|
|
char sa_data[0];
|
|
};
|
|
|
|
#endif
|