OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
286547d
)
only include libc-tsd.h if we have threads support
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 20 Oct 2005 18:45:30 +0000
(18:45 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 20 Oct 2005 18:45:30 +0000
(18:45 -0000)
libc/inet/rpc/rpc_thread.c
patch
|
blob
|
history
diff --git
a/libc/inet/rpc/rpc_thread.c
b/libc/inet/rpc/rpc_thread.c
index
75a5d0f
..
8e3fca5
100644
(file)
--- 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 =