From 10d72caac092119c14127c2e49297cf007cc4959 Mon Sep 17 00:00:00 2001 From: Sertonix Date: Tue, 28 Oct 2025 08:55:28 +0100 Subject: [PATCH] Add missing includes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit include/lib/util_sys.h: missing dev_t ziomon/ziomon_msg_tools.h: missing time_t zkey/keystore.c: missing open mon_tools/mon_procd.c: missing gettimeofday Fixes some build failures on musl libc Github-ID: https://github.com/ibm-s390-linux/s390-tools/pull/193 Signed-off-by: Sertonix Reviewed-by: Steffen Eiden Reviewed-by: Ingo Franzki Reviewed-by: Jan Höppner Signed-off-by: Jan Höppner --- cpacfstats/stats_sock.c | 1 + include/lib/util_sys.h | 1 + mon_tools/mon_procd.c | 2 +- ziomon/ziomon_msg_tools.h | 2 ++ zkey/keystore.c | 1 + 5 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cpacfstats/stats_sock.c b/cpacfstats/stats_sock.c index 2c1823ca..a8b0b702 100644 --- a/cpacfstats/stats_sock.c +++ b/cpacfstats/stats_sock.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/include/lib/util_sys.h b/include/lib/util_sys.h index cf6f862a..ef820f10 100644 --- a/include/lib/util_sys.h +++ b/include/lib/util_sys.h @@ -13,6 +13,7 @@ #define LIB_UTIL_SYS_H #include +#include int util_sys_get_dev_addr(const char *dev, char *addr); bool util_sys_dev_is_partition(dev_t dev); diff --git a/mon_tools/mon_procd.c b/mon_tools/mon_procd.c index c4f46d87..d0da1bb4 100644 --- a/mon_tools/mon_procd.c +++ b/mon_tools/mon_procd.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #include diff --git a/ziomon/ziomon_msg_tools.h b/ziomon/ziomon_msg_tools.h index 2b165735..616dc02a 100644 --- a/ziomon/ziomon_msg_tools.h +++ b/ziomon/ziomon_msg_tools.h @@ -12,6 +12,8 @@ #ifndef ZIOMON_MSG__TOOLS_H #define ZIOMON_MSG__TOOLS_H +#include + #include "ziomon_dacc.h" void conv_blkiomon_v2_to_v3(struct message *msg); diff --git a/zkey/keystore.c b/zkey/keystore.c index d40c2106..81c01fcc 100644 --- a/zkey/keystore.c +++ b/zkey/keystore.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include