hyptop/helper: Define _PATH_MOUNTED fallback

_PATH_MOUNTED is not defined in musl libc

Github-ID: https://github.com/ibm-s390-linux/s390-tools/pull/193
Signed-off-by: Sertonix <sertonix@posteo.net>
Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Sertonix
2025-10-28 18:07:35 +01:00
committed by Jan Höppner
parent d884cc27c1
commit 4e61b4c9f4

View File

@@ -24,6 +24,10 @@
#include <time.h>
#include <unistd.h>
#ifndef _PATH_MOUNTED
#define _PATH_MOUNTED "/etc/mtab"
#endif
#include "lib/util_fmt.h"
#include "lib/util_libc.h"