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