diff options
author | Rob Landley <rob@landley.net> | 2018-10-07 19:54:57 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-10-07 19:54:57 -0500 |
commit | ace221343e8c8cacfc853006edfe227a85f555b3 (patch) | |
tree | 8d425fb8333f6a91108e505e88442150a6bb402a | |
parent | 742f553b18194b82c78f1a96b57cc34958b53ce7 (diff) | |
download | toybox-ace221343e8c8cacfc853006edfe227a85f555b3.tar.gz |
Fix getconf build for musl.
-rw-r--r-- | toys/posix/getconf.c | 4 |
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; |