tests/nouveau/threaded: adapt ioctl signature for FreeBSD

FreeBSD also use (int, unsigned long int, ...) like GLIBC.

Signed-off-by: Emmanuel Vadot <manu@FreeBSD.org>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
main
Emmanuel Vadot 2020-01-24 19:27:41 +01:00
parent e321dd7a4d
commit 1600fe1130
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ static int failed;
static int import_fd;
#ifdef __GLIBC__
#if defined(__GLIBC__) || defined(__FreeBSD__)
int ioctl(int fd, unsigned long request, ...)
#else
int ioctl(int fd, int request, ...)