From: Jim Meyering Date: Mon, 1 Jan 2001 18:16:52 +0000 (+0000) Subject: (jm_PREREQ_READUTMP): Include utmp.h (if available), even X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=beed5983bacbba82e4bc29091f48598247f86d2d;p=pspp (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. --- 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 "