summaryrefslogtreecommitdiff
path: root/src/unix/linux_like/linux/musl/b64/s390x.rs
diff options
context:
space:
mode:
authormessense <messense@icloud.com>2021-05-11 21:25:14 +0800
committermessense <messense@icloud.com>2021-05-11 22:54:24 +0800
commitc7c238d812c3d416f4e1e919a68aa7eca848befb (patch)
treedf6e0dccf02545941e7d9b5b23b45738bae62031 /src/unix/linux_like/linux/musl/b64/s390x.rs
parent5a1e648c66eefc443787f95514dd33aae962517a (diff)
downloadrust-libc-c7c238d812c3d416f4e1e919a68aa7eca848befb.tar.gz
Add missing `ioctl` function to s390x MUSL target
Diffstat (limited to 'src/unix/linux_like/linux/musl/b64/s390x.rs')
-rw-r--r--src/unix/linux_like/linux/musl/b64/s390x.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unix/linux_like/linux/musl/b64/s390x.rs b/src/unix/linux_like/linux/musl/b64/s390x.rs
index bd33bdbb8f..3bdac44d8c 100644
--- a/src/unix/linux_like/linux/musl/b64/s390x.rs
+++ b/src/unix/linux_like/linux/musl/b64/s390x.rs
@@ -752,3 +752,7 @@ pub const SYS_faccessat2: ::c_long = 439;
pub const SYS_process_madvise: ::c_long = 440;
pub const SYS_epoll_pwait2: ::c_long = 441;
pub const SYS_mount_setattr: ::c_long = 442;
+
+extern "C" {
+ pub fn ioctl(fd: ::c_int, request: ::c_ulong, ...) -> ::c_int;
+}