[PATCH libdrm] tests/nouveau/threaded: adapt ioctl signature for DragonFly
François Tigeot
ftigeot at wolfpond.org
Thu Apr 23 09:13:52 UTC 2020
DragonFly uses (int, unsigned long int, ...) like GLIBC and FreeBSD.
Signed-off-by: François Tigeot <ftigeot at wolfpond.org>
---
tests/nouveau/threaded.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/nouveau/threaded.c b/tests/nouveau/threaded.c
index ddbac74e..6a12c1f3 100644
--- a/tests/nouveau/threaded.c
+++ b/tests/nouveau/threaded.c
@@ -36,7 +36,7 @@ static int failed;
static int import_fd;
-#if defined(__GLIBC__) || defined(__FreeBSD__)
+#if defined(__GLIBC__) || defined(__FreeBSD__) || defined(__DragonFly__)
int ioctl(int fd, unsigned long request, ...)
#else
int ioctl(int fd, int request, ...)
--
2.25.1
More information about the dri-devel
mailing list