From: pbrook Date: Mon, 2 Jun 2008 15:45:44 +0000 (+0000) Subject: Fix location of futex.h. X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~14633 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30813cea9b6166f2302a973d57c5818273f6c4d2;p=sdk%2Femulator%2Fqemu.git Fix location of futex.h. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4653 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/configure b/configure index 4a4ba36..f204d048 100755 --- a/configure +++ b/configure @@ -648,7 +648,7 @@ EOF # Check host NPTL support cat > $TMPC < -#include +#include void foo() { #if !defined(CLONE_SETTLS) || !defined(FUTEX_WAIT) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 5f2b48a..25b9e5a 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -52,9 +52,6 @@ //#include #include #include -#if defined(USE_NPTL) -#include -#endif #define termios host_termios #define winsize host_winsize @@ -75,6 +72,10 @@ #include "qemu.h" +#if defined(USE_NPTL) +#include +#endif + //#define DEBUG #if defined(TARGET_I386) || defined(TARGET_ARM) || defined(TARGET_SPARC) \