--- a/lib/pthread.in.h +++ b/lib/pthread.in.h @@ -232,6 +232,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; static inline int