From 6af28ff46002a5d3b860155f505ecc411a229b26 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Thu, 17 Jun 2010 19:10:26 +0200 Subject: libc: Fix non-NPTL threads build This patch fixes some issues building uclibc with linuxthreads, that seem to have been introduced by the NPTL changes. Signed-off-by: Andrew Stubbs Signed-off-by: Carmelo Amoroso --- libc/misc/internals/__uClibc_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c index d82126815..3f09ad228 100644 --- a/libc/misc/internals/__uClibc_main.c +++ b/libc/misc/internals/__uClibc_main.c @@ -36,7 +36,9 @@ #include #include #endif - +#ifdef __UCLIBC_HAS_THREADS__ +#include +#endif #ifndef SHARED void *__libc_stack_end = NULL; -- cgit v1.2.3