1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-02 22:42:30 +03:00

vgimportdevices: LOCK_EX requires <sys/file.h> include

https://linux.die.net/man/2/flock

Bug: https://bugs.gentoo.org/887259
This commit is contained in:
Jory Pratt 2023-02-07 14:27:12 +01:00 committed by Zdenek Kabelac
parent be124ae810
commit a1a1439215

View File

@ -15,6 +15,8 @@
#include "tools.h"
#include "lib/cache/lvmcache.h"
#include "lib/device/device_id.h"
/* coverity[unnecessary_header] needed for MuslC */
#include <sys/file.h>
struct vgimportdevices_params {
uint32_t added_devices;