Re: [PATCH V2] inet:rpc: fix build in !NPTL case

2012-03-26 Thread Carmelo AMOROSO
On 14/03/2012 15.56, Carmelo AMOROSO wrote: __libc_once is not available / needed when multithreading support is not enabled, so authnone_create() calls authnone_create_once() directly. When LT.{old,new} is used instead of NPTL, it needs to explicitly include bits/libc-lock.h to get

[PATCH V2] inet:rpc: fix build in !NPTL case

2012-03-14 Thread Carmelo AMOROSO
__libc_once is not available / needed when multithreading support is not enabled, so authnone_create() calls authnone_create_once() directly. When LT.{old,new} is used instead of NPTL, it needs to explicitly include bits/libc-lock.h to get __libc_once to be visible. Signed-off-by: Carmelo Amoroso