--- ./configure.ac 2012-04-24 19:00:29.000000000 -0400 +++ ../../work2/mosh-1.1.98/configure.ac 2012-04-24 22:30:31.000000000 -0400 @@ -244,7 +244,8 @@ AC_CHECK_DECL([forkpty], [AC_DEFINE([FORKPTY_IN_LIBUTIL], [1], [Define if libutil.h necessary for forkpty().])], - , [[#include ]]) + , [[#include + #include ]]) AC_ARG_VAR([poll_CFLAGS], [C compiler flags for poll]) AC_ARG_VAR([poll_LIBS], [linker flags for poll])