summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hurd/sysvshm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hurd/sysvshm.c b/hurd/sysvshm.c
index 5d538a6373..e049345135 100644
--- a/hurd/sysvshm.c
+++ b/hurd/sysvshm.c
@@ -26,6 +26,7 @@
#include <dirent.h>
#include <sys/stat.h>
#include <sys/shm.h>
+#include <hurdlock.h>
/* Description of an shm attachment. */
@@ -45,7 +46,7 @@ struct sysvshm_attach
static struct sysvshm_attach *sysvshm_list;
/* A lock to protect the linked list of shared memory attachments. */
-static struct mutex sysvshm_lock = MUTEX_INITIALIZER;
+static unsigned int sysvshm_lock = LLL_INITIALIZER;
/* Adds a segment attachment. */