diff --git a/libc-test/semver/apple.txt b/libc-test/semver/apple.txt index 3bc827f8d849c..7a500294f47f2 100644 --- a/libc-test/semver/apple.txt +++ b/libc-test/semver/apple.txt @@ -358,6 +358,7 @@ ENOPOLICY ENOSR ENOSTR ENOTBLK +ENOTCAPABLE ENOTRECOVERABLE ENOTSUP EOF diff --git a/src/unix/bsd/apple/mod.rs b/src/unix/bsd/apple/mod.rs index 7b084251d3b8e..baf15d3047d51 100644 --- a/src/unix/bsd/apple/mod.rs +++ b/src/unix/bsd/apple/mod.rs @@ -2098,7 +2098,8 @@ pub const ENOPOLICY: c_int = 103; pub const ENOTRECOVERABLE: c_int = 104; pub const EOWNERDEAD: c_int = 105; pub const EQFULL: c_int = 106; -pub const ELAST: c_int = 106; +pub const ENOTCAPABLE: c_int = 107; +pub const ELAST: c_int = 107; pub const EAI_AGAIN: c_int = 2; pub const EAI_BADFLAGS: c_int = 3;