[vlc-devel] [PATCH] Fix build for Android

Andrey Gursky andrey.gursky at e-mail.ua
Sat May 28 17:39:30 CEST 2016


---
 src/linux/thread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/linux/thread.c b/src/linux/thread.c
index 617bd5f..db38cae 100644
--- a/src/linux/thread.c
+++ b/src/linux/thread.c
@@ -50,7 +50,7 @@ unsigned long vlc_thread_id(void)
 static int sys_futex(void *addr, int op, int val, const struct timespec *to,
                      void *addr2, int val3)
 {
-    return syscall(SYS_futex, addr, op, val, to, addr2, val3);
+    return syscall(__NR_futex, addr, op, val, to, addr2, val3);
 }
 
 static int vlc_futex_wake(void *addr, int nr)
-- 
2.8.1


More information about the vlc-devel mailing list