From 4c10c666629aea9cfd3e9ae208697adf9b10d228 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 17 Oct 2022 11:12:34 -0600 Subject: [PATCH] Add ENOTSUP on Redox --- src/unix/redox/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/redox/mod.rs b/src/unix/redox/mod.rs index 7870eb7f1ad46..02beda431277e 100644 --- a/src/unix/redox/mod.rs +++ b/src/unix/redox/mod.rs @@ -375,6 +375,7 @@ pub const EPROTONOSUPPORT: ::c_int = 93; /* Protocol not supported */ pub const ESOCKTNOSUPPORT: ::c_int = 94; /* Socket type not supported */ /* Operation not supported on transport endpoint */ pub const EOPNOTSUPP: ::c_int = 95; +pub const ENOTSUP: ::c_int = EOPNOTSUPP; pub const EPFNOSUPPORT: ::c_int = 96; /* Protocol family not supported */ /* Address family not supported by protocol */ pub const EAFNOSUPPORT: ::c_int = 97;