summaryrefslogtreecommitdiff
path: root/src/libstddjb/allwritev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/allwritev.c')
-rw-r--r--src/libstddjb/allwritev.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libstddjb/allwritev.c b/src/libstddjb/allwritev.c
index d7195a8..dc343a4 100644
--- a/src/libstddjb/allwritev.c
+++ b/src/libstddjb/allwritev.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 allwritev (int fd, siovec_t const *v, unsigned int vlen)
+size_t allwritev (int fd, struct iovec const *v, unsigned int vlen)
{
- return allreadwritev(&fd_writesv, fd, v, vlen) ;
+ return allreadwritev(&fd_writev, fd, v, vlen) ;
}