浏览代码

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>
Khem Raj 15 年之前
父节点
当前提交
b3b9101a9c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      libc/inet/rpc/rpc_thread.c

+ 1 - 0
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;