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-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c67c4cba3a4083405c5ce3b18492bc55ae27e56;p=pspp 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 '