summaryrefslogtreecommitdiff
path: root/libc/termios/termios.c
diff options
context:
space:
mode:
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;