From b1e4f6f33122eaddd49263cd01fd7ad5ef6d23a4 Mon Sep 17 00:00:00 2001 From: Sertonix Date: Tue, 28 Oct 2025 09:10:57 +0100 Subject: [PATCH] dasdinfo: Define FTW_{CONTINUE,STOP} when not available MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These are not available in musl libc and not mentioned in the POSIX spec 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 --- dasdinfo/dasdinfo.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dasdinfo/dasdinfo.c b/dasdinfo/dasdinfo.c index 49f18cba..22e82892 100644 --- a/dasdinfo/dasdinfo.c +++ b/dasdinfo/dasdinfo.c @@ -33,6 +33,11 @@ #define RD_BUFFER_SIZE 80 #define TEMP_DEV_MAX_RETRIES 1000 +#ifndef FTW_CONTINUE +#define FTW_CONTINUE 0 +#define FTW_STOP 1 +#endif + static const struct util_prg prg = { .desc = "Display DASD volume serial number and ID information", .args = "-i BUSID | -b BLOCKDEV | -d DEVNODE",