Преглед изворни кода

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 пре 14 година
родитељ
комит
40207e12e1
1 измењених фајлова са 3 додато и 1 уклоњено
  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>