summaryrefslogtreecommitdiff
path: root/system/lvm2/add-sys-file.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/lvm2/add-sys-file.patch')
-rw-r--r--system/lvm2/add-sys-file.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/system/lvm2/add-sys-file.patch b/system/lvm2/add-sys-file.patch
new file mode 100644
index 000000000..d21f5cdfc
--- /dev/null
+++ b/system/lvm2/add-sys-file.patch
@@ -0,0 +1,20 @@
+--- ./lib/device/dev-cache.c 2021-10-04 10:26:46.747943865 +0000
++++ ./lib/device/dev-cache.c 2021-10-04 10:23:55.715876227 +0000
+@@ -29,6 +29,7 @@
+ #include <unistd.h>
+ #include <dirent.h>
+ #include <locale.h>
++#include <sys/file.h>
+
+ struct dev_iter {
+ struct btree_iter *current;
+--- ./tools/lvmdevices.c 2021-10-04 10:34:16.660694727 +0000
++++ ./tools/lvmdevices.c 2021-10-04 10:34:33.718908403 +0000
+@@ -16,6 +16,7 @@
+ #include "lib/cache/lvmcache.h"
+ #include "lib/device/device_id.h"
+ #include "lib/device/dev-type.h"
++#include <sys/file.h>
+
+ static void _search_devs_for_pvids(struct cmd_context *cmd, struct dm_list *search_pvids, struct dm_list *found_devs)
+ {