OSDN Git Service

Include bits/libc-lock.h to get __libc_once_define
authorKhem Raj <raj.khem@gmail.com>
Fri, 11 Dec 2009 17:40:05 +0000 (09:40 -0800)
committerKhem Raj <raj.khem@gmail.com>
Fri, 11 Dec 2009 17:46:27 +0000 (09:46 -0800)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Austin Foxley <austinf@cetoncorp.com>
libc/inet/rpc/rpc_thread.c

index 54781d0..71303b2 100644 (file)
@@ -14,6 +14,7 @@
 #ifdef __UCLIBC_HAS_THREADS__
 
 #include <bits/libc-tsd.h>
+#include <bits/libc-lock.h>
 
 /* Variable used in non-threaded applications or for the first thread.  */
 static struct rpc_thread_variables __libc_tsd_RPC_VARS_mem;