aboutsummaryrefslogtreecommitdiff
path: root/usermux/usermux.h
diff options
context:
space:
mode:
Diffstat (limited to 'usermux/usermux.h')
-rw-r--r--usermux/usermux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usermux/usermux.h b/usermux/usermux.h
index ff4ca5de..c9374aaa 100644
--- a/usermux/usermux.h
+++ b/usermux/usermux.h
@@ -22,7 +22,7 @@
#define __USERMUX_H__
#include <hurd/netfs.h>
-#include <rwlock.h>
+#include <pthread.h>
#include <maptime.h>
struct passwd;
@@ -38,7 +38,7 @@ struct usermux
{
/* The user nodes in this mux. */
struct usermux_name *names;
- struct rwlock names_lock;
+ pthread_rwlock_t names_lock;
/* A template argz, which is used to start each user-specific translator
with the user name appropriately added. */