From: Jim Meyering Date: Sun, 20 Aug 2000 12:45:31 +0000 (+0000) Subject: Include utmp.h `#if HAVE_UTMP_H', rather than X-Git-Tag: FILEUTILS-4_0y~16 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=5bf6f179da1ed2f8494f3bf9f87ff930993d2955;p=thirdparty%2Fcoreutils.git Include utmp.h `#if HAVE_UTMP_H', rather than `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither utmp.h nor utmpx.h. Reported by Eli Zaretskii. --- diff --git a/m4/check-decl.m4 b/m4/check-decl.m4 index f49a9c5904..94d9a8f936 100644 --- a/m4/check-decl.m4 +++ b/m4/check-decl.m4 @@ -38,7 +38,7 @@ AC_DEFUN(jm_CHECK_DECLS, # endif #endif -#if !HAVE_UTMPX_H +#if HAVE_UTMP_H # include #endif '