From 01cafe5e7db1d590e1b149ffa5129707afaa8577 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 3 Feb 2000 12:20:59 +0000 Subject: [PATCH] (read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION', rather than with `#if HAVE_UTMPNAME'. --- lib/readutmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/readutmp.c b/lib/readutmp.c index 1c680f0271..e14408add8 100644 --- a/lib/readutmp.c +++ b/lib/readutmp.c @@ -57,7 +57,7 @@ extract_trimmed_name (const STRUCT_UTMP *ut) 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) -- 2.30.2