svn commit: trunk/uClibc/libc/inet/rpc

vapier at uclibc.org vapier at uclibc.org
Thu Oct 20 18:45:35 UTC 2005


Author: vapier
Date: 2005-10-20 11:45:30 -0700 (Thu, 20 Oct 2005)
New Revision: 11898

Log:
only include libc-tsd.h if we have threads support

Modified:
   trunk/uClibc/libc/inet/rpc/rpc_thread.c


Changeset:
Modified: trunk/uClibc/libc/inet/rpc/rpc_thread.c
===================================================================
--- trunk/uClibc/libc/inet/rpc/rpc_thread.c	2005-10-20 11:17:48 UTC (rev 11897)
+++ trunk/uClibc/libc/inet/rpc/rpc_thread.c	2005-10-20 18:45:30 UTC (rev 11898)
@@ -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 =




More information about the uClibc-cvs mailing list