You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
516 B

  1. --- a/lib/device/dev-cache.c
  2. +++ b/lib/device/dev-cache.c
  3. @@ -29,6 +29,7 @@
  4. #include <unistd.h>
  5. #include <dirent.h>
  6. #include <locale.h>
  7. +#include <sys/file.h>
  8. struct dev_iter {
  9. struct btree_iter *current;
  10. --- a/tools/lvmdevices.c
  11. +++ b/tools/lvmdevices.c
  12. @@ -15,6 +15,7 @@
  13. #include "tools.h"
  14. #include "lib/cache/lvmcache.h"
  15. #include "lib/device/device_id.h"
  16. +#include <sys/file.h>
  17. static void _search_devs_for_pvids(struct cmd_context *cmd, struct dm_list *search_pvids, struct dm_list *found_devs)
  18. {