mirror of https://github.com/WebAssembly/wasi-libc
Browse Source
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)
sunfishcode/update-emmalloc
wasi-sdk-19
YAMAMOTO Takashi
2 years ago
committed by
GitHub
5 changed files with 4 additions and 19 deletions
@ -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 |
|||
|
Loading…
Reference in new issue