Commit 30813cea9b6166f2302a973d57c5818273f6c4d2
1 parent
f5b78d4f
Fix location of futex.h.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4653 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
5 additions
and
4 deletions
configure
linux-user/syscall.c
| ... | ... | @@ -52,9 +52,6 @@ |
| 52 | 52 | //#include <sys/user.h> |
| 53 | 53 | #include <netinet/ip.h> |
| 54 | 54 | #include <netinet/tcp.h> |
| 55 | -#if defined(USE_NPTL) | |
| 56 | -#include <sys/futex.h> | |
| 57 | -#endif | |
| 58 | 55 | |
| 59 | 56 | #define termios host_termios |
| 60 | 57 | #define winsize host_winsize |
| ... | ... | @@ -75,6 +72,10 @@ |
| 75 | 72 | |
| 76 | 73 | #include "qemu.h" |
| 77 | 74 | |
| 75 | +#if defined(USE_NPTL) | |
| 76 | +#include <linux/futex.h> | |
| 77 | +#endif | |
| 78 | + | |
| 78 | 79 | //#define DEBUG |
| 79 | 80 | |
| 80 | 81 | #if defined(TARGET_I386) || defined(TARGET_ARM) || defined(TARGET_SPARC) \ | ... | ... |