diff options
Diffstat (limited to 'libc-bottom-half/headers/public/__struct_sockaddr_in.h')
-rw-r--r-- | libc-bottom-half/headers/public/__struct_sockaddr_in.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libc-bottom-half/headers/public/__struct_sockaddr_in.h b/libc-bottom-half/headers/public/__struct_sockaddr_in.h new file mode 100644 index 0000000..73dc5c6 --- /dev/null +++ b/libc-bottom-half/headers/public/__struct_sockaddr_in.h @@ -0,0 +1,17 @@ +#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 |