From ace221343e8c8cacfc853006edfe227a85f555b3 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 7 Oct 2018 19:54:57 -0500 Subject: Fix getconf build for musl. --- toys/posix/getconf.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'toys/posix/getconf.c') 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; -- cgit v1.2.3