summaryrefslogtreecommitdiff
path: root/libc/termios/termios.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-04 23:26:55 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-04 23:26:55 +0000
commiteb2ecd0b083611bdd07c5352ffc9cfa22e0de711 (patch)
tree5e61cf2b2ddc07dd19b577b7bfa3f83b81f7de8a /libc/termios/termios.c
parent4d6ba4ccf89262743eb2093474a571decb455d27 (diff)
Fix all the makefiles. Clean up some warnings, cleanup some headers.
-Erik
Diffstat (limited to 'libc/termios/termios.c')
-rw-r--r--libc/termios/termios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/termios/termios.c b/libc/termios/termios.c
index c6c0117f0..7532259d4 100644
--- a/libc/termios/termios.c
+++ b/libc/termios/termios.c
@@ -11,10 +11,10 @@
#include <stddef.h>
#include <sys/ioctl.h>
#include <termios.h>
+#include <unistd.h>
#ifdef L_isatty
-isatty(fd)
-int fd;
+int isatty(int fd)
{
struct termios term;
int rv, err = errno;