summaryrefslogtreecommitdiff
path: root/libc/termios/tcgetattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/termios/tcgetattr.c')
-rw-r--r--libc/termios/tcgetattr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/termios/tcgetattr.c b/libc/termios/tcgetattr.c
index 957b5b0c1..b8728461a 100644
--- a/libc/termios/tcgetattr.c
+++ b/libc/termios/tcgetattr.c
@@ -17,7 +17,6 @@
Boston, MA 02111-1307, USA. */
#include <string.h>
-#include <termios.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/types.h>
@@ -28,7 +27,7 @@
#include "kernel_termios.h"
/* Put the state of FD into *TERMIOS_P. */
-int tcgetattr ( int fd, struct termios *termios_p)
+int tcgetattr ( int fd, struct libc_termios *termios_p)
{
struct __kernel_termios k_termios;
int retval;