summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2010-04-28 10:35:55 -0700
committerAustin Foxley <austinf@cetoncorp.com>2010-04-28 10:35:55 -0700
commit0748262682e3cffc7fccc266ac7632f48f56a0ee (patch)
tree8e38916140cae2a20af2a60c763f1de126ea5b40 /libc/inet
parent72210a8474a3633dc36e1972fe9e8b66eef7d49e (diff)
fix a few build errors for the no threads case
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/getaddrinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/inet/getaddrinfo.c b/libc/inet/getaddrinfo.c
index 8c7f7b9f1..cdfdb72cf 100644
--- a/libc/inet/getaddrinfo.c
+++ b/libc/inet/getaddrinfo.c
@@ -56,7 +56,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <assert.h>
#include <errno.h>
#include <netdb.h>
+#ifdef __UCLIBC_HAS_TLS__
#include <tls.h>
+#endif
#include <resolv.h>
#include <stdio.h>
#include <stdlib.h>