aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/getconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/getconf.c')
-rw-r--r--toys/posix/getconf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/toys/posix/getconf.c b/toys/posix/getconf.c
index 56324730..6885f01f 100644
--- a/toys/posix/getconf.c
+++ b/toys/posix/getconf.c
@@ -28,6 +28,10 @@ config GETCONF
#ifndef _SC_XOPEN_UUCP
#define _SC_XOPEN_UUCP -1
#endif
+// This is missing on musl 1.1.20
+#ifndef UIO_MAXIOV
+#define UIO_MAXIOV 1024
+#endif
struct config {
char *name;