summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/ttyent/getttyent.c3
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;