summaryrefslogtreecommitdiff
path: root/src/libstddjb/allreadv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/allreadv.c')
-rw-r--r--src/libstddjb/allreadv.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libstddjb/allreadv.c b/src/libstddjb/allreadv.c
index 5eb3863..13514cc 100644
--- a/src/libstddjb/allreadv.c
+++ b/src/libstddjb/allreadv.c
@@ -1,9 +1,10 @@
/* ISC license. */
+#include <sys/types.h>
+#include <sys/uio.h>
#include <skalibs/allreadwrite.h>
-#include <skalibs/siovec.h>
-unsigned int allreadv (int fd, siovec_t const *v, unsigned int vlen)
+size_t allreadv (int fd, struct iovec const *v, unsigned int vlen)
{
- return allreadwritev(&fd_readsv, fd, v, vlen) ;
+ return allreadwritev(&fd_readv, fd, v, vlen) ;
}