From 4e61b4c9f4567d7c6d846471628b14b75cb77652 Mon Sep 17 00:00:00 2001 From: Sertonix Date: Tue, 28 Oct 2025 18:07:35 +0100 Subject: [PATCH] hyptop/helper: Define _PATH_MOUNTED fallback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit _PATH_MOUNTED is not defined in musl libc Github-ID: https://github.com/ibm-s390-linux/s390-tools/pull/193 Signed-off-by: Sertonix Reviewed-by: Steffen Eiden Reviewed-by: Jan Höppner Signed-off-by: Jan Höppner --- hyptop/helper.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hyptop/helper.c b/hyptop/helper.c index d8faa966..1b8c9d16 100644 --- a/hyptop/helper.c +++ b/hyptop/helper.c @@ -24,6 +24,10 @@ #include #include +#ifndef _PATH_MOUNTED +#define _PATH_MOUNTED "/etc/mtab" +#endif + #include "lib/util_fmt.h" #include "lib/util_libc.h"