From: Volker Lendecke Date: Thu, 10 Nov 2022 12:42:01 +0000 (+0100) Subject: lib: Make lib/util/iov_buf.h self-contained X-Git-Tag: talloc-2.4.0~523 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dddb9a2fc2943e835298976ad45ee4aff73330d;p=thirdparty%2Fsamba.git lib: Make lib/util/iov_buf.h self-contained We need "struct iovec", which comes in via sys/uio.h, incuded by system/filesys.h Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/lib/util/iov_buf.h b/lib/util/iov_buf.h index 79b81b84779..07e08e1650b 100644 --- a/lib/util/iov_buf.h +++ b/lib/util/iov_buf.h @@ -22,6 +22,7 @@ #include "replace.h" #include +#include "system/filesys.h" ssize_t iov_buflen(const struct iovec *iov, int iovlen); ssize_t iov_buf(const struct iovec *iov, int iovcnt,