Android: add a compat layer for 'syscall.h'
[urcu.git] / urcu / futex.h
index 98acc12855515e7ca0c5bf9ca42fd3fb988e0f30..bb270c2933fcaf174a67207858addbc35e09982c 100644 (file)
@@ -6,6 +6,8 @@
  *
  * Userspace RCU - sys_futex/compat_futex header.
  *
+ * Copyright 2011-2012 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
@@ -43,7 +45,7 @@ extern "C" {
  */
 
 #ifdef CONFIG_RCU_HAVE_FUTEX
-#include <sys/syscall.h>
+#include <urcu/syscall-compat.h>
 #define futex(...)     syscall(__NR_futex, __VA_ARGS__)
 #define futex_noasync(uaddr, op, val, timeout, uaddr2, val3)   \
                futex(uaddr, op, val, timeout, uaddr2, val3)
This page took 0.022946 seconds and 4 git commands to generate.