Skip to contentSkip to conversation

tests/nouveau/threaded: adapt ioctl signature for DragonFly

PATCH New François Tigeot 1 participant 1 message Apr 23, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/nouveau/threaded: adapt ioctl signature for DragonFly

DragonFly uses (int, unsigned long int, ...) like GLIBC and FreeBSD.

---
 tests/nouveau/threaded.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/nouveau/threaded.c +1 -1
index ddbac74e..6a12c1f3 100644
@@ -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, ...)
Signature · 6 lines
2.25.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel