mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-09 04:47:50 +00:00
Fix location of futex.h.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4653 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
f5b78d4fea
commit
30813cea9b
2
configure
vendored
2
configure
vendored
@ -648,7 +648,7 @@ EOF
|
|||||||
# Check host NPTL support
|
# Check host NPTL support
|
||||||
cat > $TMPC <<EOF
|
cat > $TMPC <<EOF
|
||||||
#include <sched.h>
|
#include <sched.h>
|
||||||
#include <sys/futex.h>
|
#include <linux/futex.h>
|
||||||
void foo()
|
void foo()
|
||||||
{
|
{
|
||||||
#if !defined(CLONE_SETTLS) || !defined(FUTEX_WAIT)
|
#if !defined(CLONE_SETTLS) || !defined(FUTEX_WAIT)
|
||||||
|
@ -52,9 +52,6 @@
|
|||||||
//#include <sys/user.h>
|
//#include <sys/user.h>
|
||||||
#include <netinet/ip.h>
|
#include <netinet/ip.h>
|
||||||
#include <netinet/tcp.h>
|
#include <netinet/tcp.h>
|
||||||
#if defined(USE_NPTL)
|
|
||||||
#include <sys/futex.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define termios host_termios
|
#define termios host_termios
|
||||||
#define winsize host_winsize
|
#define winsize host_winsize
|
||||||
@ -75,6 +72,10 @@
|
|||||||
|
|
||||||
#include "qemu.h"
|
#include "qemu.h"
|
||||||
|
|
||||||
|
#if defined(USE_NPTL)
|
||||||
|
#include <linux/futex.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
//#define DEBUG
|
//#define DEBUG
|
||||||
|
|
||||||
#if defined(TARGET_I386) || defined(TARGET_ARM) || defined(TARGET_SPARC) \
|
#if defined(TARGET_I386) || defined(TARGET_ARM) || defined(TARGET_SPARC) \
|
||||||
|
Loading…
Reference in New Issue
Block a user