blob: cc122ebdba45d5cf15a9e59d9fc2ea4deaa6408a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
---
linux-user/syscall.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
Index: qemu/linux-user/syscall.c
===================================================================
--- qemu.orig/linux-user/syscall.c 2007-08-09 20:28:06.000000000 +0100
+++ qemu/linux-user/syscall.c 2007-08-09 20:28:41.000000000 +0100
@@ -61,7 +61,15 @@
#define tchars host_tchars /* same as target */
#define ltchars host_ltchars /* same as target */
-#include <linux/futex.h>
+#define FUTEX_WAIT 0
+#define FUTEX_WAKE 1
+#define FUTEX_FD 2
+#define FUTEX_REQUEUE 3
+#define FUTEX_CMP_REQUEUE 4
+#define FUTEX_WAKE_OP 5
+#define FUTEX_LOCK_PI 6
+#define FUTEX_UNLOCK_PI 7
+
#include <linux/termios.h>
#include <linux/unistd.h>
#include <linux/utsname.h>
|