mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
add missing sys/file.h include
required for LOCK_EX etc on musl
This commit is contained in:
parent
72af1cb085
commit
a6a8443a07
@ -29,6 +29,7 @@
|
||||
#include <unistd.h>
|
||||
#include <dirent.h>
|
||||
#include <locale.h>
|
||||
#include <sys/file.h>
|
||||
|
||||
struct dev_iter {
|
||||
struct btree_iter *current;
|
||||
|
@ -17,6 +17,8 @@
|
||||
#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)
|
||||
{
|
||||
struct dev_iter *iter;
|
||||
|
Loading…
Reference in New Issue
Block a user