summaryrefslogtreecommitdiff
path: root/libc/termios/ttyname.c
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-05-14 06:36:48 +0000
committerErik Andersen <andersen@codepoet.org>2000-05-14 06:36:48 +0000
commit557676bdf528741f188f6af0e7bb5f25e29e7d3e (patch)
tree69a82c960d2d17fa6da7cafa88a607a9f0aa9e83 /libc/termios/ttyname.c
parentc3a27f5095a50bef9e56f19eeed1176319e189e2 (diff)
Work in progress -- cleanups.
-Erik
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>