mirror of
https://github.com/ziglang/zig.git
synced 2025-12-08 07:13:08 +00:00
* Update wasi-libc to a00bf321eeeca836ee2a0d2d25aeb8524107b8cc It includes a port of emscripten's allocator that performs performs much better than the old one. Most importantly, it includes the prerequisites to later add support for POSIX threads.
15 lines
290 B
C
Vendored
15 lines
290 B
C
Vendored
#ifndef __wasilibc___struct_sockaddr_h
|
|
#define __wasilibc___struct_sockaddr_h
|
|
|
|
#define __need_STDDEF_H_misc
|
|
#include <stddef.h>
|
|
|
|
#include <__typedef_sa_family_t.h>
|
|
|
|
struct sockaddr {
|
|
__attribute__((aligned(__BIGGEST_ALIGNMENT__))) sa_family_t sa_family;
|
|
char sa_data[0];
|
|
};
|
|
|
|
#endif
|