aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libc/pthread.h')
-rw-r--r--system/include/libc/pthread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/include/libc/pthread.h b/system/include/libc/pthread.h
index 8f845937..d94c01be 100644
--- a/system/include/libc/pthread.h
+++ b/system/include/libc/pthread.h
@@ -350,6 +350,9 @@ int _EXFUN(pthread_rwlock_timedwrlock,
#endif /* defined(_POSIX_READER_WRITER_LOCKS) */
+/* Added for emscripten, missing getattr_np function */
+int _EXFUN(pthread_getattr_np,(pthread_t __th, pthread_attr_t *__attr));
+
#ifdef __cplusplus
}