summary refs log tree commit diff
path: root/sysdeps/posix
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-10-20 04:10:15 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-10-20 04:10:15 +0200
commit63b4baa44e8d22501c433c4093aa3310f91b6aa2 (patch)
tree2a8a738beec1d6587adb9a36fea810be2adb4e0c /sysdeps/posix
parent95ccb619f553c130dde7b51098d69132547f8a90 (diff)
downloadglibc-63b4baa44e8d22501c433c4093aa3310f91b6aa2.tar.gz
glibc-63b4baa44e8d22501c433c4093aa3310f91b6aa2.tar.xz
glibc-63b4baa44e8d22501c433c4093aa3310f91b6aa2.zip
sysconf: Fix missing definition of UIO_MAXIOV on Linux [BZ #22321]
After commit 37f802f86400684c8d13403958b2c598721d6360 (Remove
__need_IOV_MAX and __need_FOPEN_MAX), UIO_MAXIOV is no longer supplied
(indirectly) through <bits/stdio_lim.h>, so sysdeps/posix/sysconf.c no
longer sees the definition.
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/sysconf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c
index a95e1b3f05..254f87c437 100644
--- a/sysdeps/posix/sysconf.c
+++ b/sysdeps/posix/sysconf.c
@@ -29,6 +29,7 @@
 #include <sys/stat.h>
 #include <sys/sysinfo.h>
 #include <sys/types.h>
+#include <sys/uio.h>
 #include <regex.h>
 
 #define NEED_SPEC_ARRAY 0