From 9f95dc5d227c5a155d39208dfd15aacaa509b59b Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 8 Mar 2015 11:26:57 +0100 Subject: hurd: Make libc able to call pthread stubs * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include --- sysdeps/mach/hurd/bits/libc-lock.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sysdeps/mach/hurd/bits') 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 +#endif + #endif /* bits/libc-lock.h */ -- cgit v1.2.1