summaryrefslogtreecommitdiff
path: root/exec/priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'exec/priv.h')
-rw-r--r--exec/priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/exec/priv.h b/exec/priv.h
index 7cee15e4..dbecb7a9 100644
--- a/exec/priv.h
+++ b/exec/priv.h
@@ -26,7 +26,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <hurd/trivfs.h>
#include <hurd/ports.h>
#include <hurd/lookup.h>
-#include <rwlock.h>
+#include <pthread.h>
#ifdef BFD
#include <bfd.h>
@@ -186,7 +186,7 @@ void check_hashbang (struct execdata *e,
extern mach_port_t *std_ports;
extern int *std_ints;
extern size_t std_nports, std_nints;
-extern struct rwlock std_lock;
+extern pthread_rwlock_t std_lock;
#endif /* exec_priv_h */