On 6/27/08, Samuel Thibault <[EMAIL PROTECTED]> wrote:
>
>  tcl8.5 currently FTBFS on hurd-i386 because tclUnixPort.h uses
>  pthread_attr_t without including pthead.h first. The attached patch
>  fixes that.

On Linux tclUnixPort.h doesn't include pthread.h as well. It includes
sys/types.h which includes bits/pthreadtypes.h with the necessary
declaration. On hurd-i386 the file bits/pthreadtypes.h is empty.

Is it safe to include pthread.h in Linux also? Or it's better to do
that only on hurd-i386?

BTW, this issue arised only after some recent changes in glibc. Tcl
8.5 never FTBFS on hurd-i386 before.

-- 
Sergei Golovan



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to