[prev in list] [next in list] [prev in thread] [next in thread]
List: uclibc
Subject: [PATCH] uClibc_mutex.h: do not include pthread.h
From: carmelo.amoroso () st ! com (Carmelo AMOROSO)
Date: 2008-07-08 7:49:12
Message-ID: 48731BF8.1080900 () st ! com
[Download RAW message or body]
Carmelo AMOROSO wrote:
> Hi All,
> after having merged recent uClibc_mutex.h into nptl branch I've seen a
> problem in building 'dvdr-tools' application. The problem is that a
> source file of this application use a variable "BOOL clone".
> This source includes stdio.h -> uClibc_stdio.h -> uClibc_mutex.h ->
> pthread.h -> sched.h.
> In sched.h there is the clone prototype defined causing the clashing.
>
> I think that uCibc_mutex.h could simply include <bits/pthreadtypes.h>
> for getting the definition of pthread_mutex_t, and I'm not sure it
> really needs including pthread.h.
>
> So the attached dummy patch is intended to fix it.
>
> Cheers,
> Carmelo
>
Unfortunately this patch doesn't work on linuxthreads, so currently
discard it.
I'll go back to this later. I'll keep this change privately for my nptl
branch.
Carmelo
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic