From: Rich Felker Date: Fri, 19 Jul 2013 23:57:52 +0000 (-0400) Subject: add UIO_MAXIOV macro in sys/uio.h X-Git-Tag: v0.9.12~57 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=41e2fd9d529b00b8532e7170e3cdae0d5d6c6424;p=oweals%2Fmusl.git add UIO_MAXIOV macro in sys/uio.h while there's no POSIX namespace provision for UIO_* in uio.h, this exact macro name is reserved in XBD 2.2.2. apparently some glibc-centric software expects it to exist, so let's provide it. --- diff --git a/include/sys/uio.h b/include/sys/uio.h index 09b6ab9e..00f73a2f 100644 --- a/include/sys/uio.h +++ b/include/sys/uio.h @@ -21,6 +21,8 @@ extern "C" { #include +#define UIO_MAXIOV 1024 + ssize_t readv (int, const struct iovec *, int); ssize_t writev (int, const struct iovec *, int);