From 80e6b5cf89054ee5d5676bc75514926698d61e73 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 16 Jan 2018 08:23:17 -0200 Subject: [PATCH] shared/musl_missing.h: replace ifdef HAVE_UTMP with if ENABLE_UTMP now meson defines if the feature is enabled or not, check if the feature is enabled --- src/shared/musl_missing.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shared/musl_missing.h b/src/shared/musl_missing.h index 6a6f1e037..7f3ffafaf 100644 --- a/src/shared/musl_missing.h +++ b/src/shared/musl_missing.h @@ -86,7 +86,7 @@ typedef __compar_fn_t comparison_fn_t; #endif /* Make musl utmp/wtmp stubs visible if needed. */ -#ifdef HAVE_UTMP +#if ENABLE_UTMP # include # include # include @@ -96,7 +96,7 @@ typedef __compar_fn_t comparison_fn_t; # if defined(_PATH_WTMP) && !defined(_PATH_WTMPX) # define _PATH_WTMPX _PATH_WTMP # endif -#endif // HAVE_UTMP +#endif // ENABLE_UTMP #endif // !defined(__GLIBC__) -- 2.30.2