summaryrefslogtreecommitdiff
path: root/src/thread/pthread_getspecific.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_getspecific.c')
-rw-r--r--src/thread/pthread_getspecific.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thread/pthread_getspecific.c b/src/thread/pthread_getspecific.c
index d3d09fa2..d9342a56 100644
--- a/src/thread/pthread_getspecific.c
+++ b/src/thread/pthread_getspecific.c
@@ -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);