From 113d55143e81bc8f69b6995284f86d49efc4cfa1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 20 Oct 2005 18:45:30 +0000 Subject: only include libc-tsd.h if we have threads support --- libc/inet/rpc/rpc_thread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/inet') diff --git a/libc/inet/rpc/rpc_thread.c b/libc/inet/rpc/rpc_thread.c index 75a5d0f4d..8e3fca506 100644 --- a/libc/inet/rpc/rpc_thread.c +++ b/libc/inet/rpc/rpc_thread.c @@ -2,11 +2,12 @@ #include #include #include -#include #include "rpc_private.h" #ifdef __UCLIBC_HAS_THREADS__ +#include + /* Variable used in non-threaded applications or for the first thread. */ static struct rpc_thread_variables __libc_tsd_RPC_VARS_mem; static struct rpc_thread_variables *__libc_tsd_RPC_VARS_data = -- cgit v1.2.3