summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/pthread/unlock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/misc/pthread/unlock.c b/libc/misc/pthread/unlock.c
index b8adbd813..04de0df58 100644
--- a/libc/misc/pthread/unlock.c
+++ b/libc/misc/pthread/unlock.c
@@ -18,9 +18,10 @@
Boston, MA 02111-1307, USA. */
#include <pthread.h>
+#include <bits/uClibc_mutex.h>
void attribute_hidden __uclibc_mutex_unlock (void *arg)
{
pthread_mutex_t *__mutex = (pthread_mutex_t *)arg;
- pthread_mutex_unlock(__mutex);
+ __pthread_mutex_unlock(__mutex);
}