From 40207e12e162ee002aaccd1a817f936cc482e62f Mon Sep 17 00:00:00 2001
From: "Peter S. Mazinger" <ps.m@gmx.net>
Date: Fri, 18 Mar 2011 21:19:15 +0100
Subject: ruserpass.c: needs stdio_ext.h only if threads are enabled

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
 libc/inet/rpc/ruserpass.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'libc')

diff --git a/libc/inet/rpc/ruserpass.c b/libc/inet/rpc/ruserpass.c
index d2b5eeb45..9197763a3 100644
--- a/libc/inet/rpc/ruserpass.c
+++ b/libc/inet/rpc/ruserpass.c
@@ -35,7 +35,9 @@
 #include <errno.h>
 #include <netdb.h>
 #include <stdio.h>
-#include <stdio_ext.h>
+#ifdef __UCLIBC_HAS_THREADS__
+# include <stdio_ext.h>
+#endif
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
-- 
cgit v1.2.3