From 4a4fc37f538fda1ad87719fa23536e9d84c52ba9 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT service" Date: Thu, 31 Dec 2009 02:51:57 +0100 Subject: [PATCH] Ticket #1932: Removed obsolete checks for standard header termios.h --- configure.ac | 2 +- src/subshell.c | 2 -- src/tty/tty-slang.c | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index d6a6eeaee..1375c739d 100644 --- a/configure.ac +++ b/configure.ac @@ -141,7 +141,7 @@ fi AC_PROG_INSTALL AC_CHECK_HEADERS([unistd.h string.h memory.h limits.h malloc.h \ - termios.h utime.h fcntl.h sys/statfs.h sys/vfs.h sys/time.h \ + utime.h fcntl.h sys/statfs.h sys/vfs.h sys/time.h \ sys/timeb.h sys/select.h sys/ioctl.h stropts.h arpa/inet.h \ security/pam_misc.h sys/socket.h sys/sysmacros.h sys/types.h \ sys/mkdev.h wchar.h wctype.h]) diff --git a/src/subshell.c b/src/subshell.c index a80f8a110..ce545340c 100644 --- a/src/subshell.c +++ b/src/subshell.c @@ -40,9 +40,7 @@ #ifdef HAVE_SYS_IOCTL_H # include #endif -#ifdef HAVE_TERMIOS_H #include -#endif #include #ifdef HAVE_STROPTS_H diff --git a/src/tty/tty-slang.c b/src/tty/tty-slang.c index 02ba8d33f..e20ae6d3e 100644 --- a/src/tty/tty-slang.c +++ b/src/tty/tty-slang.c @@ -34,9 +34,7 @@ #include #include #include -#ifdef HAVE_TERMIOS_H #include -#endif #include /* size_t */ #include #include