hurd: Make libc able to call pthread stubs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 8 Mar 2015 10:26:57 +0000 (11:26 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 8 Mar 2015 10:26:57 +0000 (11:26 +0100)
* sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
<bits/libc-lockP.h>

ChangeLog
sysdeps/mach/hurd/bits/libc-lock.h

index a200bce..8de939f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+       * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
+       <bits/libc-lockP.h>
+
 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
 
        * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
index 24c3aa8..63d3e81 100644 (file)
@@ -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 */