Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -1082,11 +1082,11 @@ AS_IF([test x"$have_processes" = x"yes"], [ AC_SUBST(OFPROCESS_M, "OFProcess.m") AC_DEFINE(OF_HAVE_PROCESSES, 1, [Whether we have processes]) ]) -AC_CHECK_HEADERS_ONCE([sys/ioctl.h sys/termios.h]) +AC_CHECK_HEADERS_ONCE([sys/ioctl.h sys/ttycom.h]) AS_IF([test x"$objc_runtime" = x"Apple runtime"], [ AC_CHECK_HEADER(Foundation/NSObject.h, [ AC_SUBST(FOUNDATION_COMPAT_M, "foundation-compat.m") AC_SUBST(BRIDGE, "bridge") Index: utils/ofhttp/ProgressBar.m ================================================================== --- utils/ofhttp/ProgressBar.m +++ utils/ofhttp/ProgressBar.m @@ -21,12 +21,12 @@ #include #ifdef HAVE_SYS_IOCTL_H # include #endif -#ifdef HAVE_SYS_TERMIOS_H -# include +#ifdef HAVE_SYS_TTYCOM_H +# include #endif #import "OFDate.h" #import "OFStdIOStream.h" #import "OFTimer.h"