diff --git a/include/coap3/coap_mutex_internal.h b/include/coap3/coap_mutex_internal.h index f14d2fdc..c9358499 100644 --- a/include/coap3/coap_mutex_internal.h +++ b/include/coap3/coap_mutex_internal.h @@ -85,7 +85,7 @@ typedef int coap_mutex_t; #elif defined(__ZEPHYR__) #include -typedef struct k_mutex coap_mutex_t; +typedef struct sys_mutex coap_mutex_t; #define coap_mutex_init(a) sys_mutex_init(a) #define coap_mutex_destroy(a)