padsp: fix build on FreeBSD (use same ioctl signature as glibc)

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
This commit is contained in:
Greg V 2020-04-02 17:32:37 +03:00 committed by PulseAudio Marge Bot
parent 3e6ba5b000
commit e94c81aef6

View file

@ -2394,7 +2394,7 @@ fail:
return ret; return ret;
} }
#ifndef __GLIBC__ #if !defined(__GLIBC__) && !defined(__FreeBSD__)
int ioctl(int fd, int request, ...) { int ioctl(int fd, int request, ...) {
#else #else
int ioctl(int fd, unsigned long request, ...) { int ioctl(int fd, unsigned long request, ...) {