From d66df29623073d8875ba8c7a975e150a7bf5d28b Mon Sep 17 00:00:00 2001
From: Matt Schulte <mschulte@wyze.com>
Date: Wed, 16 Sep 2020 21:28:07 -0700
Subject: [PATCH] Add UIO_MAXIOV constant to uclibc

!1880 added UIO_MAXIOV to libc, but did not add it to uclibc. This
causes build breaks for std against uclibc.
---
 src/unix/uclibc/mod.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/unix/uclibc/mod.rs b/src/unix/uclibc/mod.rs
index bcc6ebf2..fcf3ae82 100644
--- a/src/unix/uclibc/mod.rs
+++ b/src/unix/uclibc/mod.rs
@@ -932,6 +932,8 @@ pub const SS_DISABLE: ::c_int = 2;
 
 pub const PATH_MAX: ::c_int = 4096;
 
+pub const UIO_MAXIOV: ::c_int = 1024;
+
 pub const FD_SETSIZE: usize = 1024;
 
 pub const EPOLLIN: ::c_int = 0x1;
-- 
GitLab