diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-18 21:19:15 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:27 +0200 |
commit | 40207e12e162ee002aaccd1a817f936cc482e62f (patch) | |
tree | aeca836cdc3eb86fcb3ce184b29ab237edb2e66f /libc | |
parent | c968403d3352b3cb80e97cbc7969c6b50ad2f457 (diff) |
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>
Diffstat (limited to 'libc')
-rw-r--r-- | libc/inet/rpc/ruserpass.c | 4 |
1 files changed, 3 insertions, 1 deletions
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> |