projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e321dd7
)
tests/nouveau/threaded: adapt ioctl signature for FreeBSD
author
Emmanuel Vadot
<manu@FreeBSD.org>
Fri, 24 Jan 2020 18:27:41 +0000
(19:27 +0100)
committer
Emmanuel Vadot
<manu@FreeBSD.org>
Tue, 21 Apr 2020 17:26:54 +0000
(19:26 +0200)
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>
tests/nouveau/threaded.c
patch
|
blob
|
history
diff --git
a/tests/nouveau/threaded.c
b/tests/nouveau/threaded.c
index
e1c27c0
..
ddbac74
100644
(file)
--- a/
tests/nouveau/threaded.c
+++ b/
tests/nouveau/threaded.c
@@
-36,7
+36,7
@@
static int failed;
static int import_fd;
-#if
def __GLIBC__
+#if
defined(__GLIBC__) || defined(__FreeBSD__)
int ioctl(int fd, unsigned long request, ...)
#else
int ioctl(int fd, int request, ...)