zig/lib/libc/include/wasm-wasi-musl/__struct_sockaddr_in.h
Jakub Konka 7b74de7d71 wasi,cc: fix naming and add stubs for building
Rename include dir to match the convention:
  from `wasm32-wasi` to `wasm-wasi-musl`

Add building stubs which will be used to build and cache WASI
libc sysroot.
2021-05-20 16:54:00 +02:00

18 lines
369 B
C
Vendored

#ifndef __wasilibc___struct_sockaddr_in_h
#define __wasilibc___struct_sockaddr_in_h
#define __need_STDDEF_H_misc
#include <stddef.h>
#include <__typedef_sa_family_t.h>
#include <__typedef_in_port_t.h>
#include <__struct_in_addr.h>
struct sockaddr_in {
_Alignas(max_align_t) sa_family_t sin_family;
in_port_t sin_port;
struct in_addr sin_addr;
};
#endif