X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fwindows%2Fposix%2Finclude%2Fsys%2Fuio.h;h=25f83d6083f1c01c3958fc68756c48c43e6d56d0;hb=35922a2138c5adc91a2b4b185b5d756900bde87d;hp=077550c61b4884d61d343d349e6fd1cb1e7f93b3;hpb=427899c4c9a09e245f0dd1210e824cfcea8212f8;p=fio.git diff --git a/os/windows/posix/include/sys/uio.h b/os/windows/posix/include/sys/uio.h index 077550c6..25f83d60 100644 --- a/os/windows/posix/include/sys/uio.h +++ b/os/windows/posix/include/sys/uio.h @@ -1,16 +1,16 @@ -#ifndef SYS_UIO_H -#define SYS_UIO_H - -#include -#include - - struct iovec - { - void *iov_base; /* Base address of a memory region for input or output */ - size_t iov_len; /* The size of the memory pointed to by iov_base */ -}; - - ssize_t readv(int fildes, const struct iovec *iov, int iovcnt); - ssize_t writev(int fildes, const struct iovec *iov, int iovcnt); - -#endif /* SYS_UIO_H */ +#ifndef SYS_UIO_H +#define SYS_UIO_H + +#include +#include + + struct iovec + { + void *iov_base; /* Base address of a memory region for input or output */ + size_t iov_len; /* The size of the memory pointed to by iov_base */ +}; + + ssize_t readv(int fildes, const struct iovec *iov, int iovcnt); + ssize_t writev(int fildes, const struct iovec *iov, int iovcnt); + +#endif /* SYS_UIO_H */