From d4fe413fe1a95420a91b7795ae7b7307f186937b Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Thu, 19 Oct 1995 02:42:36 +0000 Subject: [PATCH] git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@162 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/popper/pop_xmit.c | 3 +++ appl/telnet/configure.in | 2 +- appl/telnet/telnetd/defs.h | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) 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 */