aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-10-07 19:54:57 -0500
committerRob Landley <rob@landley.net>2018-10-07 19:54:57 -0500
commitace221343e8c8cacfc853006edfe227a85f555b3 (patch)
tree8d425fb8333f6a91108e505e88442150a6bb402a /toys
parent742f553b18194b82c78f1a96b57cc34958b53ce7 (diff)
downloadtoybox-ace221343e8c8cacfc853006edfe227a85f555b3.tar.gz
Fix getconf build for musl.
Diffstat (limited to 'toys')
-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;