summaryrefslogtreecommitdiff
path: root/channelio/open.h
diff options
context:
space:
mode:
Diffstat (limited to 'channelio/open.h')
-rw-r--r--channelio/open.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/channelio/open.h b/channelio/open.h
index 43dc85407..98f1d47c1 100644
--- a/channelio/open.h
+++ b/channelio/open.h
@@ -22,13 +22,13 @@
#ifndef __OPEN_H__
#define __OPEN_H__
-#include <cthreads.h>
+#include <pthread.h>
#include <hurd/channel.h>
/* Information about an open session. */
struct open
{
- struct mutex lock;
+ pthread_mutex_t lock;
struct channel *channel;
/* The current owner of the session. For terminals, this affects