summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <kraj@mvista.com>2008-07-10 16:00:35 +0000
committerKhem Raj <kraj@mvista.com>2008-07-10 16:00:35 +0000
commit38a8d50b6b95dcc6c5536bdb9e884ebeae29b34f (patch)
tree8b1aad9b9147e6ef5320ee18a03e060b81f1a5c2
parent6a240cf69be3c71bf61509158bb2ccac54accd32 (diff)
downloaduClibc-alpine-38a8d50b6b95dcc6c5536bdb9e884ebeae29b34f.tar.bz2
uClibc-alpine-38a8d50b6b95dcc6c5536bdb9e884ebeae29b34f.tar.xz
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Include <bits/libc-lock.h> to get *once* definitions.
-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 2c7b8c1ea..5b6579e14 100644
--- a/libc/inet/rpc/rpc_thread.c
+++ b/libc/inet/rpc/rpc_thread.c
@@ -18,6 +18,7 @@ libc_hidden_proto(__rpc_thread_svc_max_pollfd)
#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;