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

[patches] Getting LinuxThreads to work with EGLIBC 2.5 (part 2)



Following on from the earlier patch, this one fixes linuxthreads itself.
The patch was originally from Mike Frsyinger:

    http://sourceware.org/ml/libc-ports/2006-10/msg00016.html

Tested on ColdFire.  OK for 2.5?

Richard


	From Mike Frysinger <vapier@xxxxxxxxxx>

	* sysdeps/pthread/gai_misc.h: Include pthread.h.

Index: linuxthreads/sysdeps/pthread/gai_misc.h
===================================================================
--- linuxthreads/sysdeps/pthread/gai_misc.h	(revision 1541)
+++ linuxthreads/sysdeps/pthread/gai_misc.h	(working copy)
@@ -23,6 +23,7 @@
 
 #include <assert.h>
 #include <signal.h>
+#include <pthread.h>
 
 #undef DONT_NEED_GAI_MISC_COND