diff options
Diffstat (limited to 'src/xshmfence_futex.h')
-rw-r--r-- | src/xshmfence_futex.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xshmfence_futex.h b/src/xshmfence_futex.h index 673ac0e..4476038 100644 --- a/src/xshmfence_futex.h +++ b/src/xshmfence_futex.h @@ -53,6 +53,10 @@ static inline int futex_wait(int32_t *addr, int32_t value) { #include <sys/time.h> #include <sys/syscall.h> +#ifndef SYS_futex +#define SYS_futex SYS_futex_time64 +#endif + static inline long sys_futex(void *addr1, int op, int val1, struct timespec *timeout, void *addr2, int val3) { return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); |