diff --git a/sys/posix/pthread/include/pthread_mutex.h b/sys/posix/pthread/include/pthread_mutex.h index 0b2fea8fb956b..d9d74913303a3 100644 --- a/sys/posix/pthread/include/pthread_mutex.h +++ b/sys/posix/pthread/include/pthread_mutex.h @@ -26,6 +26,11 @@ extern "C" { #endif +/** + * Static initializer for @ref pthread_mutex_t struct + */ +#define PTHREAD_MUTEX_INITIALIZER MUTEX_INIT; + /** * @brief Pthread mutexes are quite the same as RIOT mutexes. * @details Recursive locking is not supported.