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
parent
e321dd7a4d
commit
1600fe1130
|
@ -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, ...)
|
||||
|
|
Loading…
Reference in New Issue