diff --git a/lib/libc/pthread/include/pthread.h b/lib/libc/pthread/include/pthread.h index 02a9b42..43c2381 100644 --- a/lib/libc/pthread/include/pthread.h +++ b/lib/libc/pthread/include/pthread.h @@ -1,6 +1,8 @@ #ifndef PTHREAD_H_ #define PTHREAD_H_ +#include + #define __PTHREAD_ATTR_SIZE__ 32 typedef struct __pthread *pthread_t; @@ -10,6 +12,10 @@ typedef struct __pthread_attr { char __opaque[__PTHREAD_ATTR_SIZE__]; } pthread_attr_t; +typedef struct __pthread_mutex { + kern_futex_t __v; +} pthread_mutex_t; + extern int __pthread_init(void); extern int pthread_create(