summaryrefslogtreecommitdiff
path: root/user/libdrm/ioctl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/libdrm/ioctl.patch')
-rw-r--r--user/libdrm/ioctl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/libdrm/ioctl.patch b/user/libdrm/ioctl.patch
new file mode 100644
index 000000000..9ffe5f933
--- /dev/null
+++ b/user/libdrm/ioctl.patch
@@ -0,0 +1,11 @@
+--- libdrm-2.4.83/tests/nouveau/threaded.c
++++ libdrm-2.4.83/tests/nouveau/threaded.c
+@@ -40,7 +40,7 @@
+
+ static int import_fd;
+
+-int ioctl(int fd, unsigned long request, ...)
++int ioctl(int fd, int request, ...)
+ {
+ va_list va;
+ int ret;