diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-10-20 18:45:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-10-20 18:45:30 +0000 |
commit | 113d55143e81bc8f69b6995284f86d49efc4cfa1 (patch) | |
tree | d9d8d95cbbedfcec88f8d3dfd4191b54d5aa5e99 /libc | |
parent | 286547d5c293e2aff4fcbebe7e72e2f8f95f0962 (diff) |
only include libc-tsd.h if we have threads support
Diffstat (limited to 'libc')
-rw-r--r-- | libc/inet/rpc/rpc_thread.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <features.h> #include <stdio.h> #include <assert.h> -#include <bits/libc-tsd.h> #include "rpc_private.h" #ifdef __UCLIBC_HAS_THREADS__ +#include <bits/libc-tsd.h> + /* 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 = |