changeset 2246:7805669f5f18

(read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION', rather than with `#if HAVE_UTMPNAME'.
author Jim Meyering <jim@meyering.net>
date Thu, 03 Feb 2000 12:20:59 +0000
parents dc66900528c8
children 063a624615c9
files lib/readutmp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/readutmp.c
+++ b/lib/readutmp.c
@@ -57,7 +57,7 @@
    the number of entries, and return zero.  If there is any error,
    return non-zero and don't modify the parameters.  */
 
-#if HAVE_UTMPNAME
+#ifdef UTMP_NAME_FUNCTION
 
 int
 read_utmp (const char *filename, int *n_entries, STRUCT_UTMP **utmp_buf)