Ticket #1932: Removed obsolete checks for standard header termios.h

This commit is contained in:
Enrico Weigelt, metux IT service 2009-12-31 02:51:57 +01:00
parent 99a10e86e5
commit 4a4fc37f53
3 changed files with 1 additions and 5 deletions

View File

@ -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])

View File

@ -40,9 +40,7 @@
#ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif
#include <unistd.h>
#ifdef HAVE_STROPTS_H

View File

@ -34,9 +34,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif
#include <sys/types.h> /* size_t */
#include <unistd.h>
#include <signal.h>