diff --git a/sys/posix/pthread/include/pthread.h b/sys/posix/pthread/include/pthread.h index d0949e417f..1c0eee6d03 100644 --- a/sys/posix/pthread/include/pthread.h +++ b/sys/posix/pthread/include/pthread.h @@ -23,5 +23,6 @@ #include "pthread_once.h" #include "pthread_scheduling.h" #include "pthread_cancellation.h" +#include "pthread_cond.h" #endif /* pthread.h */ diff --git a/tests/test_pthread_condition_variable/main.c b/tests/test_pthread_condition_variable/main.c index c77f440d78..2153df5778 100644 --- a/tests/test_pthread_condition_variable/main.c +++ b/tests/test_pthread_condition_variable/main.c @@ -19,9 +19,8 @@ */ #include -#include "pthread_cond.h" +#include "pthread.h" #include "thread.h" -#include "mutex.h" static mutex_t mutex; static struct pthread_cond_t cv;