From 41e2fd9d529b00b8532e7170e3cdae0d5d6c6424 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 19 Jul 2013 19:57:52 -0400 Subject: [PATCH] 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. --- include/sys/uio.h | 2 ++ 1 file changed, 2 insertions(+) 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);