diff --git a/libc-test/semver/apple.txt b/libc-test/semver/apple.txt index c4453779a131..5cabe89408f2 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 69321b7086f7..292c53e6be73 100644 --- a/src/unix/bsd/apple/mod.rs +++ b/src/unix/bsd/apple/mod.rs @@ -2112,7 +2112,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;