Index: examples/rlfe/pty.c =================================================================== --- examples/rlfe/pty.c.orig +++ examples/rlfe/pty.c @@ -34,7 +34,7 @@ #endif /* for solaris 2.1, Unixware (SVR4.2) and possibly others */ -#ifdef HAVE_SVR4_PTYS +#if defined(HAVE_SVR4_PTYS) && defined(HAVE_SYS_STROPTS_H) # include #endif Index: configure =================================================================== --- configure.orig +++ configure @@ -4956,7 +4956,8 @@ done -for ac_header in sys/pte.h sys/stream.h sys/select.h sys/file.h + +for ac_header in sys/pte.h sys/stream.h sys/select.h sys/file.h sys/stropts.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then Index: configure.in =================================================================== --- configure.in.orig +++ configure.in @@ -148,7 +148,7 @@ AC_FUNC_STRCOLL AC_CHECK_HEADERS(fcntl.h unistd.h stdlib.h varargs.h stdarg.h string.h strings.h \ limits.h locale.h pwd.h memory.h termcap.h termios.h termio.h) -AC_CHECK_HEADERS(sys/pte.h sys/stream.h sys/select.h sys/file.h) +AC_CHECK_HEADERS(sys/pte.h sys/stream.h sys/select.h sys/file.h sys/stropts.h) AC_CHECK_HEADERS(sys/ptem.h,,, [[