summaryrefslogtreecommitdiff
path: root/libc/termios/ttyname.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/termios/ttyname.c')
-rw-r--r--libc/termios/ttyname.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/termios/ttyname.c b/libc/termios/ttyname.c
index 897243e71..9fc4f950c 100644
--- a/libc/termios/ttyname.c
+++ b/libc/termios/ttyname.c
@@ -1,5 +1,6 @@
-
#include <errno.h>
+#include <unistd.h>
+#include <string.h>
#include <sys/stat.h>
#include <dirent.h>