diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-21 16:29:30 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:30 +0200 |
commit | da192bef87b60ecd616561dc28da71619acfbbe8 (patch) | |
tree | 48152ff597d0a642e175b4239f8b1ab1368401b3 /libc | |
parent | fb65c1db739361a4646c3621166cc4f3793e1e82 (diff) |
getttyent.c: include stdio_ext.h only when needed
do not include pthread.h as the locking macro is provided by stdio.h
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/misc/ttyent/getttyent.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/misc/ttyent/getttyent.c b/libc/misc/ttyent/getttyent.c index 474f7f098..0441cb6a1 100644 --- a/libc/misc/ttyent/getttyent.c +++ b/libc/misc/ttyent/getttyent.c @@ -30,12 +30,11 @@ #include <features.h> #include <ttyent.h> #include <stdio.h> -#include <stdio_ext.h> #include <ctype.h> #include <string.h> #include <stdlib.h> #ifdef __UCLIBC_HAS_THREADS__ -# include <pthread.h> +# include <stdio_ext.h> #endif static char zapchar; |