From: Samuel Thibault Date: Sun, 8 Mar 2015 10:26:57 +0000 (+0100) Subject: hurd: Make libc able to call pthread stubs X-Git-Tag: upstream/2.30~6245 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f95dc5d227c5a155d39208dfd15aacaa509b59b;p=external%2Fglibc.git hurd: Make libc able to call pthread stubs * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include --- diff --git a/ChangeLog b/ChangeLog index a200bce..8de939f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-03-08 Samuel Thibault + + * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include + + 2015-03-07 Joseph Myers * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending diff --git a/sysdeps/mach/hurd/bits/libc-lock.h b/sysdeps/mach/hurd/bits/libc-lock.h index 24c3aa8..63d3e81 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 +#endif + #endif /* bits/libc-lock.h */