diff --git a/appl/popper/pop_xmit.c b/appl/popper/pop_xmit.c index 8bd9e2366..c5ed839fe 100644 --- a/appl/popper/pop_xmit.c +++ b/appl/popper/pop_xmit.c @@ -12,6 +12,9 @@ static char SccsId[] = "@(#)@(#)pop_xmit.c 2.1 2.1 3/18/91"; #include #include #include +#ifdef HAVE_SYS_RESOURCE_H +#include +#endif /* HAVE_SYS_RESOURCE_H */ #include #include #include "popper.h" diff --git a/appl/telnet/configure.in b/appl/telnet/configure.in index 5f06775dd..4f2afc21e 100644 --- a/appl/telnet/configure.in +++ b/appl/telnet/configure.in @@ -174,7 +174,7 @@ AC_CHECK_LIB(util, logout) AC_SUBST(HAVE_LIBTERMCAP) -AC_CHECK_HEADERS(termios.h termio.h sys/select.h utmpx.h sac.h) +AC_CHECK_HEADERS(termios.h termio.h sys/select.h sys/resource.h utmpx.h sac.h) if test "$ac_cv_header_sac_h" = yes ; then AC_DEFINE(STREAMSPTY) diff --git a/appl/telnet/telnetd/defs.h b/appl/telnet/telnetd/defs.h index a73d4a619..8c1905d49 100644 --- a/appl/telnet/telnetd/defs.h +++ b/appl/telnet/telnetd/defs.h @@ -71,6 +71,9 @@ #endif #include +#ifdef HAVE_SYS_RESOURCE_H +#include +#endif /* HAVE_SYS_RESOURCE_H */ #ifndef CRAY #include #endif /* CRAY */