diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2015-01-27 15:41:54 +0000 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2015-01-27 15:41:54 +0000 |
commit | 603ce4fe3cb23d30b2e3ae6d81bd8766ffa41cee (patch) | |
tree | fd3efd78c022209af8cd586e8d144820973a58ff /usr/src/head | |
parent | f5fd44b292236c144f9e631f155df77d3e9372c8 (diff) | |
download | illumos-joyent-603ce4fe3cb23d30b2e3ae6d81bd8766ffa41cee.tar.gz |
OS-3752 Increase IOV_MAX to at least 1024
Diffstat (limited to 'usr/src/head')
-rw-r--r-- | usr/src/head/limits.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/head/limits.h b/usr/src/head/limits.h index a6cba76cf8..17aee19837 100644 --- a/usr/src/head/limits.h +++ b/usr/src/head/limits.h @@ -24,6 +24,7 @@ * * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * Copyright 2015 Joyent, Inc. All rights reserved. */ /* Copyright (c) 1988 AT&T */ @@ -36,6 +37,7 @@ #include <sys/feature_tests.h> #include <sys/isa_defs.h> #include <iso/limits_iso.h> +#include <sys/limits.h> /* * Include fixed width type limits as proposed by the ISO/JTC1/SC22/WG14 C @@ -237,8 +239,6 @@ extern "C" { #define _XOPEN_NAME_MAX 255 /* max # bytes in filename excluding null */ #define _XOPEN_PATH_MAX 1024 /* max # bytes in a pathname */ -#define IOV_MAX _XOPEN_IOV_MAX - #if defined(__EXTENSIONS__) || \ (!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX)) |