summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--configure.in1
-rw-r--r--loginrec.c6
3 files changed, 15 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 321eb8b5e..74e688e93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,18 @@
120001228
2 - (bal) Patch to add libutil.h to loginrec.c only if the platform has
3 libutil.h. Suggested by Pekka Savola <pekka@netcore.fi>
4
120001227 520001227
2 - (bal) Typo in configure.in: entut?ent should be endut?ent. Suggested by 6 - (bal) Typo in configure.in: entut?ent should be endut?ent. Suggested by
3 Takumi Yamane <yamtak@b-session.com> 7 Takumi Yamane <yamtak@b-session.com>
4 - (bal) Checks for getrlimit(), sysconf(), and setdtablesize(). Patch 8 - (bal) Checks for getrlimit(), sysconf(), and setdtablesize(). Patch
5 by Corinna Vinschen <vinschen@redhat.com> 9 by Corinna Vinschen <vinschen@redhat.com>
6 - (djm) Fix catman-do target for non-bash 10 - (djm) Fix catman-do target for non-bash
11 - (bal) Typo in configure.in: entut?ent should be endut?ent. Suggested by
12 Takumi Yamane <yamtak@b-session.com>
13 - (bal) Checks for getrlimit(), sysconf(), and setdtablesize(). Patch
14 by Corinna Vinschen <vinschen@redhat.com>
15 - (djm) Fix catman-do target for non-bash
7 - (bal) Fixed NeXT's lack of CPPFLAGS honoring. 16 - (bal) Fixed NeXT's lack of CPPFLAGS honoring.
8 - (bal) ssh-keyscan.c: NeXT (and older BSDs) don't support getrlimit() w/ 17 - (bal) ssh-keyscan.c: NeXT (and older BSDs) don't support getrlimit() w/
9 'RLIMIT_NOFILE' 18 'RLIMIT_NOFILE'
diff --git a/configure.in b/configure.in
index 37a2a5a53..08cd9e125 100644
--- a/configure.in
+++ b/configure.in
@@ -309,6 +309,7 @@ AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_af clock fchmod fre
309dnl Checks for time functions 309dnl Checks for time functions
310AC_CHECK_FUNCS(gettimeofday time) 310AC_CHECK_FUNCS(gettimeofday time)
311dnl Checks for libutil functions 311dnl Checks for libutil functions
312AC_CHECK_HEADERS(libutil.h)
312AC_CHECK_FUNCS(login logout updwtmp logwtmp) 313AC_CHECK_FUNCS(login logout updwtmp logwtmp)
313dnl Checks for utmp functions 314dnl Checks for utmp functions
314AC_CHECK_FUNCS(endutent getutent getutid getutline pututline setutent) 315AC_CHECK_FUNCS(endutent getutent getutid getutline pututline setutent)
diff --git a/loginrec.c b/loginrec.c
index 224866128..4afe6fec1 100644
--- a/loginrec.c
+++ b/loginrec.c
@@ -161,12 +161,16 @@
161#include "xmalloc.h" 161#include "xmalloc.h"
162#include "loginrec.h" 162#include "loginrec.h"
163 163
164RCSID("$Id: loginrec.c,v 1.28 2000/12/01 21:19:51 mouring Exp $"); 164RCSID("$Id: loginrec.c,v 1.29 2000/12/28 00:07:07 mouring Exp $");
165 165
166#ifdef HAVE_UTIL_H 166#ifdef HAVE_UTIL_H
167# include <util.h> 167# include <util.h>
168#endif 168#endif
169 169
170#ifdef HAVE_LIBUTIL_H
171# include <libutil.h>
172#endif
173
170/** 174/**
171 ** prototypes for helper functions in this file 175 ** prototypes for helper functions in this file
172 **/ 176 **/