From 53aba01861e1d47e61967c42333a521c555587db Mon Sep 17 00:00:00 2001 From: Jonah Petri Date: Thu, 5 Nov 2020 18:17:48 -0500 Subject: [PATCH] Add ENOTSUP constant for uclibc --- src/unix/uclibc/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/uclibc/mod.rs b/src/unix/uclibc/mod.rs index f0026bf86acf5..769e9373bb6af 100644 --- a/src/unix/uclibc/mod.rs +++ b/src/unix/uclibc/mod.rs @@ -716,6 +716,7 @@ pub const EPIPE: ::c_int = 32; pub const EDOM: ::c_int = 33; pub const ERANGE: ::c_int = 34; pub const EWOULDBLOCK: ::c_int = EAGAIN; +pub const ENOTSUP: ::c_int = EOPNOTSUPP; pub const SCM_RIGHTS: ::c_int = 0x01; pub const SCM_CREDENTIALS: ::c_int = 0x02;