From: mouring Date: Thu, 28 Dec 2000 00:07:07 +0000 (+0000) Subject: 20001228 X-Git-Tag: PRE-REORDER~93 X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/commitdiff_plain/8f523d67bd2d3d42face863436747b92a4160789 20001228 - (bal) Patch to add libutil.h to loginrec.c only if the platform has libutil.h. Suggested by Pekka Savola --- diff --git a/ChangeLog b/ChangeLog index 321eb8b5..74e688e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,13 @@ +20001228 + - (bal) Patch to add libutil.h to loginrec.c only if the platform has + libutil.h. Suggested by Pekka Savola + 20001227 + - (bal) Typo in configure.in: entut?ent should be endut?ent. Suggested by + Takumi Yamane + - (bal) Checks for getrlimit(), sysconf(), and setdtablesize(). Patch + by Corinna Vinschen + - (djm) Fix catman-do target for non-bash - (bal) Typo in configure.in: entut?ent should be endut?ent. Suggested by Takumi Yamane - (bal) Checks for getrlimit(), sysconf(), and setdtablesize(). Patch diff --git a/configure.in b/configure.in index 37a2a5a5..08cd9e12 100644 --- a/configure.in +++ b/configure.in @@ -309,6 +309,7 @@ AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_af clock fchmod fre dnl Checks for time functions AC_CHECK_FUNCS(gettimeofday time) dnl Checks for libutil functions +AC_CHECK_HEADERS(libutil.h) AC_CHECK_FUNCS(login logout updwtmp logwtmp) dnl Checks for utmp functions AC_CHECK_FUNCS(endutent getutent getutid getutline pututline setutent) diff --git a/loginrec.c b/loginrec.c index a51a66d9..22d2ee50 100644 --- a/loginrec.c +++ b/loginrec.c @@ -167,6 +167,10 @@ RCSID("$Id$"); # include #endif +#ifdef HAVE_LIBUTIL_H +# include +#endif + /** ** prototypes for helper functions in this file **/