From a9a15e04bf60b259240abdf87bc3f7442edd4204 Mon Sep 17 00:00:00 2001 From: Matheus Date: Mon, 24 Oct 2022 15:42:21 -0300 Subject: [PATCH] fd: have iovec be inside fd.h --- src/include/kernel/fd.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/include/kernel/fd.h b/src/include/kernel/fd.h index 73762f87..d82c347a 100644 --- a/src/include/kernel/fd.h +++ b/src/include/kernel/fd.h @@ -35,6 +35,12 @@ #include #include + +struct iovec { + void *iov_base; + size_t iov_len; +}; + typedef struct { uintmax_t refcount; vnode_t* node;