$NetBSD: patch-am,v 1.2 2007/10/04 14:18:21 joerg Exp $ Fix another cast of pthread_t. --- pr/include/private/pprthred.h.orig 2004-04-25 11:00:56.000000000 -0400 +++ pr/include/private/pprthred.h @@ -51,6 +51,8 @@ #include #endif +#include + PR_BEGIN_EXTERN_C /*--------------------------------------------------------------------------- @@ -91,7 +93,11 @@ NSPR_API(void) PR_DetachThread(void); ** Get the id of the named thread. Each thread is assigned a unique id ** when it is created or attached. */ +#ifndef _DONT_CAST_PTHREAD_T NSPR_API(PRUint32) PR_GetThreadID(PRThread *thread); +#else +NSPR_API(pthread_t) PR_GetThreadID(PRThread *thread); +#endif /* ** Set the procedure that is called when a thread is dumped. The procedure