Mercurial > hg > octave-lojdl > gnulib-hg
changeset 3088:a60072e7af1d
(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.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Mon, 01 Jan 2001 18:16:52 +0000 |
parents | a9dad5ca31cf |
children | 3bdc87a26760 |
files | m4/prereq.m4 |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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_includes_default #ifdef HAVE_UTMPX_H # include <utmpx.h> -#else +#endif +#ifdef HAVE_UTMP_H # include <utmp.h> #endif "