Browse Source

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>
Peter S. Mazinger 13 years ago
parent
commit
40207e12e1
1 changed files with 3 additions and 1 deletions
  1. 3 1
      libc/inet/rpc/ruserpass.c

+ 3 - 1
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>