Commit 7d5af655 authored by Alexandre Julliard's avatar Alexandre Julliard

configure: Assume that termios.h is available on Unix.

parent f8faa8ce
......@@ -8714,12 +8714,6 @@ then :
printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
fi
ac_fn_c_check_header_compile "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
if test "x$ac_cv_header_termios_h" = xyes
then :
printf "%s\n" "#define HAVE_TERMIOS_H 1" >>confdefs.h
fi
ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
if test "x$ac_cv_header_unistd_h" = xyes
then :
......
......@@ -511,7 +511,6 @@ AC_CHECK_HEADERS(\
sys/vnode.h \
sys/wait.h \
syscall.h \
termios.h \
unistd.h \
utime.h \
valgrind/memcheck.h \
......
......@@ -31,9 +31,7 @@
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
......
......@@ -751,9 +751,6 @@
/* Define to 1 if you have the `tcdrain' function. */
#undef HAVE_TCDRAIN
/* Define to 1 if you have the <termios.h> header file. */
#undef HAVE_TERMIOS_H
/* Define to 1 if you have the `thr_kill2' function. */
#undef HAVE_THR_KILL2
......
......@@ -31,14 +31,12 @@
#include <sys/time.h>
#include <sys/types.h>
#include <time.h>
#include <termios.h>
#include <unistd.h>
#include <poll.h>
#ifdef HAVE_UTIME_H
#include <utime.h>
#endif
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment