diff --git a/src/add-ons/kernel/drivers/disk/nvme/compat/nvme_platform.h b/src/add-ons/kernel/drivers/disk/nvme/compat/nvme_platform.h index 90418e2f8b..41a4ddb8c1 100644 --- a/src/add-ons/kernel/drivers/disk/nvme/compat/nvme_platform.h +++ b/src/add-ons/kernel/drivers/disk/nvme/compat/nvme_platform.h @@ -12,6 +12,7 @@ #define pthread_mutex_t mutex +#undef PTHREAD_MUTEX_INITIALIZER #define PTHREAD_MUTEX_INITIALIZER MUTEX_INITIALIZER(__FILE__) #define pthread_mutex_init(mtx, attr) mutex_init(mtx, __FILE__) #define pthread_mutex_destroy mutex_destroy