semaphores: fix missed wakes from ABA bug in waiter count logic
[musl] / src / thread / pthread_getspecific.c
index d3d09fa..d9342a5 100644 (file)
@@ -1,4 +1,5 @@
 #include "pthread_impl.h"
+#include <threads.h>
 
 static void *__pthread_getspecific(pthread_key_t k)
 {
@@ -7,3 +8,4 @@ static void *__pthread_getspecific(pthread_key_t k)
 }
 
 weak_alias(__pthread_getspecific, pthread_getspecific);
+weak_alias(__pthread_getspecific, tss_get);