diff --git a/headers/posix/pthread.h b/headers/posix/pthread.h index 489aace5ba..3084cb0b76 100644 --- a/headers/posix/pthread.h +++ b/headers/posix/pthread.h @@ -80,6 +80,8 @@ extern "C" { { PTHREAD_MUTEX_RECURSIVE, 0, -42, -1, 0 } #define PTHREAD_COND_INITIALIZER \ { 0, -42, NULL, 0, 0 } +#define PTHREAD_RWLOCK_INITIALIZER \ + { 0, 0, NULL } /* mutex functions */ extern int pthread_mutex_destroy(pthread_mutex_t *mutex);