qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [4653] Fix location of futex.h.


From: Paul Brook
Subject: [Qemu-devel] [4653] Fix location of futex.h.
Date: Mon, 02 Jun 2008 15:45:47 +0000

Revision: 4653
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4653
Author:   pbrook
Date:     2008-06-02 15:45:44 +0000 (Mon, 02 Jun 2008)

Log Message:
-----------
Fix location of futex.h.

Modified Paths:
--------------
    trunk/configure
    trunk/linux-user/syscall.c

Modified: trunk/configure
===================================================================
--- trunk/configure     2008-06-02 09:35:46 UTC (rev 4652)
+++ trunk/configure     2008-06-02 15:45:44 UTC (rev 4653)
@@ -648,7 +648,7 @@
 # Check host NPTL support
 cat > $TMPC <<EOF
 #include <sched.h>
-#include <sys/futex.h>
+#include <linux/futex.h>
 void foo()
 {
 #if !defined(CLONE_SETTLS) || !defined(FUTEX_WAIT)

Modified: trunk/linux-user/syscall.c
===================================================================
--- trunk/linux-user/syscall.c  2008-06-02 09:35:46 UTC (rev 4652)
+++ trunk/linux-user/syscall.c  2008-06-02 15:45:44 UTC (rev 4653)
@@ -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) \






reply via email to

[Prev in Thread] Current Thread [Next in Thread]