Fix ioctl definition on s390x-musl targets.

ioctl(2) always takes an int as the request, not a ulong, on musl.
I copied a little too closely from the glibc definitions when creating
the original s390x-musl ones.
This commit is contained in:
Ariadne Conill 2022-01-16 04:05:33 +00:00
parent e470e3b6a1
commit 23a3e1f293

View file

@ -743,5 +743,5 @@ 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;
pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::c_int;
}