From 0c67c4cba3a4083405c5ce3b18492bc55ae27e56 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 20 Aug 2000 12:45:31 +0000 Subject: [PATCH] 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. --- m4/check-decl.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ' -- 2.30.2