Skip to content

Commit c7c238d

Browse files
committed
Add missing ioctl function to s390x MUSL target
1 parent 5a1e648 commit c7c238d

File tree

1 file changed

+4
-0
lines changed
  • src/unix/linux_like/linux/musl/b64

1 file changed

+4
-0
lines changed

src/unix/linux_like/linux/musl/b64/s390x.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,3 +752,7 @@ pub const SYS_faccessat2: ::c_long = 439;
752752
pub const SYS_process_madvise: ::c_long = 440;
753753
pub const SYS_epoll_pwait2: ::c_long = 441;
754754
pub const SYS_mount_setattr: ::c_long = 442;
755+
756+
extern "C" {
757+
pub fn ioctl(fd: ::c_int, request: ::c_ulong, ...) -> ::c_int;
758+
}

0 commit comments

Comments
 (0)