From beed5983bacbba82e4bc29091f48598247f86d2d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 1 Jan 2001 18:16:52 +0000 Subject: [PATCH] (jm_PREREQ_READUTMP): Include utmp.h (if available), even on systems with utmpx.h. It's necessary for the declaration of utmp's ut_user member. Reported by Andreas Jaeger. --- m4/prereq.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/m4/prereq.m4 b/m4/prereq.m4 index 533b618f0a..bd18e376b4 100644 --- a/m4/prereq.m4 +++ b/m4/prereq.m4 @@ -1,4 +1,4 @@ -#serial 13 +#serial 14 dnl These are the prerequisite macros for files in the lib/ dnl directories of the fileutils, sh-utils, and textutils packages. @@ -91,7 +91,8 @@ AC_DEFUN(jm_PREREQ_READUTMP, $ac_includes_default #ifdef HAVE_UTMPX_H # include -#else +#endif +#ifdef HAVE_UTMP_H # include #endif " -- 2.30.2