Add struct iovec to sys/socket.h.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-09-16 23:59:02 +02:00
parent 5933ac5210
commit bae68066eb
1 changed files with 6 additions and 3 deletions

View File

@ -29,7 +29,6 @@
#include <sys/__/types.h>
/* TODO: #include <sys/uio.h> */
#include <sortix/socket.h>
__BEGIN_DECLS
@ -39,6 +38,12 @@ __BEGIN_DECLS
@include(ssize_t.h)
@include(sa_family_t.h)
__END_DECLS
#include <sortix/uio.h>
__BEGIN_DECLS
struct sockaddr
{
sa_family_t sa_family;
@ -55,8 +60,6 @@ struct sockaddr_storage
char __ss_padding[_SS_PADSIZE];
};
/* TODO: struct iovec from <sys/uio.h> */
struct msghdr
{
void* msg_name;