diff options
author | Jim Meyering <jim@meyering.net> | 2001-01-01 18:16:52 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-01-01 18:16:52 +0000 |
commit | 682bc57d89f931cec616f353a7739f180d57abcc (patch) | |
tree | 06d0fae219ec2f10a20b1a0e328fc5c4df19e1cd /m4/prereq.m4 | |
parent | 74ac72a78f0288c7ee881163e91fbf2961613a17 (diff) | |
download | coreutils-682bc57d89f931cec616f353a7739f180d57abcc.tar.xz |
(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.
Diffstat (limited to 'm4/prereq.m4')
-rw-r--r-- | m4/prereq.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/prereq.m4 b/m4/prereq.m4 index 533b618f0..bd18e376b 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 <utmpx.h> -#else +#endif +#ifdef HAVE_UTMP_H # include <utmp.h> #endif " |