summaryrefslogtreecommitdiff
path: root/hostmux/hostmux.h
diff options
context:
space:
mode:
Diffstat (limited to 'hostmux/hostmux.h')
-rw-r--r--hostmux/hostmux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hostmux/hostmux.h b/hostmux/hostmux.h
index 98ef04ac..e6cfb767 100644
--- a/hostmux/hostmux.h
+++ b/hostmux/hostmux.h
@@ -22,7 +22,7 @@
#define __HOSTMUX_H__
#include <hurd/netfs.h>
-#include <rwlock.h>
+#include <pthread.h>
#include <maptime.h>
#include <features.h>
@@ -40,7 +40,7 @@ struct hostmux
{
/* The host hodes in this mux. */
struct hostmux_name *names;
- struct rwlock names_lock;
+ pthread_rwlock_t names_lock;
/* The next inode number we'll use; protected by NAMES_LOCK. */
ino_t next_fileno;