Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
bits/syscalls.h \
bits/syscalls-common.h \
bits/uClibc_fpmax.h \
+ bits/uClibc_pthread.h \
bits/uClibc_uintmaxtostr.h \
bits/uClibc_uwchar.h \
bits/uClibc_va_copy.h \
#ifdef __UCLIBC_HAS_THREADS__
#include <pthread.h>
+#ifdef _LIBC
#include <bits/uClibc_pthread.h>
+#endif
#define __UCLIBC_MUTEX_TYPE pthread_mutex_t
# error "Always include <pthread.h> rather than <bits/uClibc_pthread.h>"
#endif
-#if defined _LIBC && (defined IS_IN_libc || defined NOT_IN_libc)
-
struct _pthread_cleanup_buffer;
/* Threading functions internal to uClibc. Make these thread functions
int __execute);
#endif
-
-#endif