diff --git a/lib/device/dev-cache.c b/lib/device/dev-cache.c index 4727ea652..d9227dfd5 100644 --- a/lib/device/dev-cache.c +++ b/lib/device/dev-cache.c @@ -29,6 +29,7 @@ #include #include #include +#include struct dev_iter { struct btree_iter *current; diff --git a/tools/lvmdevices.c b/tools/lvmdevices.c index 87c39eec4..73c33c932 100644 --- a/tools/lvmdevices.c +++ b/tools/lvmdevices.c @@ -17,6 +17,8 @@ #include "lib/device/device_id.h" #include "lib/device/dev-type.h" +#include + static void _search_devs_for_pvids(struct cmd_context *cmd, struct dm_list *search_pvids, struct dm_list *found_devs) { struct dev_iter *iter;