aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/syscall.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 5f2b48aa13..25b9e5a653 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -52,9 +52,6 @@
//#include <sys/user.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
-#if defined(USE_NPTL)
-#include <sys/futex.h>
-#endif
#define termios host_termios
#define winsize host_winsize
@@ -75,6 +72,10 @@
#include "qemu.h"
+#if defined(USE_NPTL)
+#include <linux/futex.h>
+#endif
+
//#define DEBUG
#if defined(TARGET_I386) || defined(TARGET_ARM) || defined(TARGET_SPARC) \