summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/readutmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/readutmp.c b/lib/readutmp.c
index 1c680f027..e14408add 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)