From f2d7d41ff8a83c2112edefa10e7b70b49c07eb7a Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 27 Jul 2016 15:24:47 -0700 Subject: [PATCH] Add IOV_MAX to . strace 4.13 assumes we have IOV_MAX. POSIX says it lives here. 1024 is a Linux kernel limitation. Change-Id: Icb428172670e4936a459db38a6a190b7178fe9f3 --- libc/include/limits.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libc/include/limits.h b/libc/include/limits.h index cb86aec8c..a1124b368 100644 --- a/libc/include/limits.h +++ b/libc/include/limits.h @@ -82,6 +82,7 @@ #define MB_LEN_MAX 4 +#define IOV_MAX 1024 #define SEM_VALUE_MAX 0x3fffffff /* POSIX says these belong in but BSD has some in . */