about summary refs log tree commit diff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-03-08 11:26:57 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-03-08 11:26:57 +0100
commit9f95dc5d227c5a155d39208dfd15aacaa509b59b (patch)
tree5a71da6d325021bb39cf4253d319fdf5b9b41984 /sysdeps/mach
parentb838844bc5028b2b3401af9f0f51687d8a1f8a54 (diff)
downloadglibc-9f95dc5d227c5a155d39208dfd15aacaa509b59b.tar.gz
glibc-9f95dc5d227c5a155d39208dfd15aacaa509b59b.tar.xz
glibc-9f95dc5d227c5a155d39208dfd15aacaa509b59b.zip
hurd: Make libc able to call pthread stubs
	* sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
	<bits/libc-lockP.h>
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/bits/libc-lock.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/bits/libc-lock.h b/sysdeps/mach/hurd/bits/libc-lock.h
index 24c3aa8add..63d3e8179a 100644
--- a/sysdeps/mach/hurd/bits/libc-lock.h
+++ b/sysdeps/mach/hurd/bits/libc-lock.h
@@ -203,4 +203,10 @@ void *__libc_getspecific (__libc_key_t key);
 
 #endif /* _CTHREADS_ */
 
+/* Hide the definitions which are only supposed to be used inside libc in
+   a separate file.  This file is not present in the installation!  */
+#ifdef _LIBC
+# include <bits/libc-lockP.h>
+#endif
+
 #endif	/* bits/libc-lock.h */