From da192bef87b60ecd616561dc28da71619acfbbe8 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 21 Mar 2011 16:29:30 +0100 Subject: 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 Signed-off-by: Bernhard Reutner-Fischer --- libc/misc/ttyent/getttyent.c | 3 +-- 1 file changed, 1 insertion(+), 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 #include #include -#include #include #include #include #ifdef __UCLIBC_HAS_THREADS__ -# include +# include #endif static char zapchar; -- cgit v1.2.3