summaryrefslogtreecommitdiff
path: root/libc/termios
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-09-27 05:24:26 +0000
committerEric Andersen <andersen@codepoet.org>2001-09-27 05:24:26 +0000
commit2512c847453c24b928c34beed88902fbb6877b7a (patch)
tree3d327c54c00684b85c435cffa29c5050888c0a69 /libc/termios
parente83a36ce9f97ac0f59117b3a62fd2dd8461b1fd5 (diff)
Update to accomodate the header file changes
Diffstat (limited to 'libc/termios')
-rw-r--r--libc/termios/tcsetattr.c2
-rw-r--r--libc/termios/termios.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/libc/termios/tcsetattr.c b/libc/termios/tcsetattr.c
index bb8c84d5c..9637c0fa6 100644
--- a/libc/termios/tcsetattr.c
+++ b/libc/termios/tcsetattr.c
@@ -25,7 +25,7 @@
/* The difference here is that the termios structure used in the
kernel is not the same as we use in the libc. Therefore we must
translate it here. */
-#include <kernel_termios.h>
+#include "kernel_termios.h"
/* This is a gross hack around a kernel bug. If the cfsetispeed functions
diff --git a/libc/termios/termios.c b/libc/termios/termios.c
index e0c3743d0..43b4cb647 100644
--- a/libc/termios/termios.c
+++ b/libc/termios/termios.c
@@ -26,6 +26,7 @@
#include <errno.h>
#include <stddef.h>
#include <sys/ioctl.h>
+#include <sys/types.h>
#include <termios.h>
#include <unistd.h>