Преглед на файлове

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 преди 16 години
родител
ревизия
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;