commit | f2d7d41ff8a83c2112edefa10e7b70b49c07eb7a | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Jul 27 15:24:47 2016 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Jul 27 15:25:31 2016 -0700 |
tree | 2424a6983be1f3c49128c396d4d1ef0233350abf | |
parent | 931be5a64d71d09334f963e7ba7efd1d6049e648 [diff] |
Add IOV_MAX to <limits.h>. strace 4.13 assumes we have IOV_MAX. POSIX says it lives here. 1024 is a Linux kernel limitation. Change-Id: Icb428172670e4936a459db38a6a190b7178fe9f3
diff --git a/libc/include/limits.h b/libc/include/limits.h index cb86aec..a1124b3 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 <unistd.h> but BSD has some in <limits.h>. */