diff options
Diffstat (limited to 'libtrivfs/trivfs.h')
-rw-r--r-- | libtrivfs/trivfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtrivfs/trivfs.h b/libtrivfs/trivfs.h index 798e0b38..33b04363 100644 --- a/libtrivfs/trivfs.h +++ b/libtrivfs/trivfs.h @@ -19,7 +19,7 @@ #define __TRIVFS_H__ #include <errno.h> -#include <cthreads.h> /* for mutexes &c */ +#include <pthread.h> /* for mutexes &c */ #include <sys/types.h> /* for uid_t &c */ #include <mach/mach.h> #include <hurd/ports.h> @@ -53,7 +53,7 @@ struct trivfs_peropen struct trivfs_control { struct port_info pi; - struct mutex lock; + pthread_mutex_t lock; struct port_class *protid_class; struct port_bucket *protid_bucket; mach_port_t filesys_id; |