mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 19:28:03 +02:00
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>
This commit is contained in:
parent
e321dd7a4d
commit
1600fe1130
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue