Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: VDR 1.1.32 plugin compile problems...




On Mon, 19 May 2003, Klaus Schmidinger wrote:

> I wonder why this really would be "the solution"...
> Does you patch change something in a way that makes _GNU_SOURCE
> necessary? AFAIK plugins have been including thread.h for quite a while
> without that problem.
>
> Am I missing something?

Including thread.h is and was not the problem. The problem was to use
"pthread_rwlock_t" that only gets defined in the Linux-system includes
when GNU_SOURCE (or UNIX98) is defined.

Look at <bits/pthreadtypes.h>

Regards,
Andreas




-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index