summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-12-11 09:40:05 -0800
committerAustin Foxley <austinf@cetoncorp.com>2009-12-11 11:35:30 -0800
commitb3b9101a9c495f52c06cb2de27fcf45e6e5f0bf9 (patch)
tree1c59ffa05ddb163f5a5e64f15b8871816cdbb362
parent51606aeedae0fee135662641a420b057b87ce412 (diff)
Include bits/libc-lock.h to get __libc_once_define
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
-rw-r--r--libc/inet/rpc/rpc_thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/inet/rpc/rpc_thread.c b/libc/inet/rpc/rpc_thread.c
index 54781d040..71303b2be 100644
--- a/libc/inet/rpc/rpc_thread.c
+++ b/libc/inet/rpc/rpc_thread.c
@@ -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;