summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/rpc_thread.c
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-12-11 09:40:05 -0800
committerKhem Raj <raj.khem@gmail.com>2009-12-11 09:46:27 -0800
commita92f0c261364774d4f844300dd2c3b11e9deaf02 (patch)
treec4f0922a89640fcb5142f31fd61f9db17f117cba /libc/inet/rpc/rpc_thread.c
parentd67f6eb3ff53bdced973fa4e8386edf092fec2e1 (diff)
Include bits/libc-lock.h to get __libc_once_define
Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/inet/rpc/rpc_thread.c')
-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;