|
From: Florian K. <br...@ac...> - 2011-09-15 16:35:40
|
On 09/15/2011 12:11 PM, Bart Van Assche wrote:
>
>
> As you probably know that's a bug in the futex.h header. Does the
> patch below help ?
>
No. It does not. I'll be sending you the output of
cd /usr/include
find . -exec grep -H u32 {} \;
off list. There is no usable definition of u32 to be found.
Florian
> Bart.
>
> Index: drd/drd_pthread_intercepts.c
> ===================================================================
> --- drd/drd_pthread_intercepts.c (revision 12034)
> +++ drd/drd_pthread_intercepts.c (working copy)
> @@ -58,6 +58,7 @@
> #include <unistd.h> /* confstr() */
> #ifdef __linux__
> #include <asm/unistd.h> /* __NR_futex */
> +#include <linux/types.h>
> #include <linux/futex.h> /* FUTEX_WAIT */
> #ifndef FUTEX_PRIVATE_FLAG
> #define FUTEX_PRIVATE_FLAG 0
>
|