From e5ce6e143393fe50da73eabdf32ce3dafb7b9dd7 Mon Sep 17 00:00:00 2001 From: yuncang123 <1050706328@qq.com> Date: Sat, 7 Sep 2024 18:34:09 +0800 Subject: [PATCH] fix function undeclared in libdm-common.c and dev-cache.c --- lib/device/dev-cache.c | 1 + libdm/libdm-common.c | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/device/dev-cache.c b/lib/device/dev-cache.c index 85f9b49..ee39814 100644 --- a/lib/device/dev-cache.c +++ b/lib/device/dev-cache.c @@ -31,6 +31,7 @@ #include /* coverity[unnecessary_header] needed for MuslC */ #include +#include struct dev_iter { struct btree_iter *current; diff --git a/libdm/libdm-common.c b/libdm/libdm-common.c index 734a012..177dc40 100644 --- a/libdm/libdm-common.c +++ b/libdm/libdm-common.c @@ -24,6 +24,7 @@ #include #include #include +#include #ifdef UDEV_SYNC_SUPPORT # include -- 2.43.0