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 > [email protected] > http://busybox.net/cgi-bin/mailman/listinfo/uclibc _______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
