--- a/lib/pthread.in.h +++ b/lib/pthread.in.h @@ -252,6 +252,9 @@ pthread_mutex_unlock (pthread_mutex_t *m /* Approximate spinlocks with mutexes. */ +#ifdef __UCLIBC__ +#define pthread_spinlock_t original_pthread_spinlock_t +#endif typedef pthread_mutex_t pthread_spinlock_t; _GL_PTHREAD_INLINE int