summaryrefslogtreecommitdiff
path: root/libhurd-slab/slab.h
diff options
context:
space:
mode:
Diffstat (limited to 'libhurd-slab/slab.h')
-rw-r--r--libhurd-slab/slab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhurd-slab/slab.h b/libhurd-slab/slab.h
index d42fd4c3..6eeb8e48 100644
--- a/libhurd-slab/slab.h
+++ b/libhurd-slab/slab.h
@@ -24,7 +24,7 @@
#include <errno.h>
#include <stdbool.h>
-#include <cthreads.h>
+#include <pthread.h>
/* Allocate a buffer in *PTR of size SIZE which must be a power of 2
@@ -67,7 +67,7 @@ struct hurd_slab_space
/* Protects this structure, along with all the slabs. No need to
delay initialization of this field. */
- struct mutex lock;
+ pthread_mutex_t lock;
/* The size and alignment of objects allocated using this slab
space. These to fields are used to calculate the final object