Skip to content

Commit 89faefe

Browse files
committed
Auto merge of #1160 - levex:dfly-add-missing-errnos, r=alexcrichton
DragonflyBSD: add ENOMEDIUM and EASYNC These errno's are defined in <sys/errno.h> on DragonFlyBSD. Signed-off-by: Levente Kurusa <[email protected]>
2 parents 31e8b75 + 5a3374a commit 89faefe

File tree

1 file changed

+2
-0
lines changed
  • src/unix/bsd/freebsdlike/dragonfly

1 file changed

+2
-0
lines changed

src/unix/bsd/freebsdlike/dragonfly/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ pub const O_DIRECTORY: ::c_int = 0x08000000;
222222
pub const F_GETLK: ::c_int = 7;
223223
pub const F_SETLK: ::c_int = 8;
224224
pub const F_SETLKW: ::c_int = 9;
225+
pub const ENOMEDIUM: ::c_int = 93;
226+
pub const EASYNC: ::c_int = 99;
225227
pub const ELAST: ::c_int = 99;
226228
pub const RLIMIT_POSIXLOCKS: ::c_int = 11;
227229
pub const RLIM_NLIMITS: ::rlim_t = 12;

0 commit comments

Comments
 (0)