[Pkg-tcltk-devel] Bug#488288: FTBFS: pthread_attr_t needs inclusion of pthread.h

Samuel Thibault samuel.thibault at ens-lyon.org
Fri Jun 27 15:48:47 UTC 2008


Forgot the patch inclusion of course...

Samuel
-------------- next part --------------
--- tcl8.5-8.5.2/unix/tclUnixPort.h.orig	2008-06-27 16:44:01.000000000 +0100
+++ tcl8.5-8.5.2/unix/tclUnixPort.h	2008-06-27 16:44:03.000000000 +0100
@@ -616,6 +616,7 @@
 #	ifdef HAVE_PTHREAD_GETATTR_NP
 #	    define TclpPthreadGetAttrs	pthread_getattr_np
 #	    ifdef GETATTRNP_NOT_DECLARED
+#		include <pthread.h>
 EXTERN int pthread_getattr_np _ANSI_ARGS_((pthread_t, pthread_attr_t *));
 #	    endif
 #	endif /* HAVE_PTHREAD_GETATTR_NP */


More information about the Pkg-tcltk-devel mailing list