qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [4653] Fix location of futex.h.
@ 2008-06-02 15:45 Paul Brook
  0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2008-06-02 15:45 UTC (permalink / raw)
  To: qemu-devel

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) \

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-02 15:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-02 15:45 [Qemu-devel] [4653] Fix location of futex.h Paul Brook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).