Re: [PATCH] vgimportdevices: LOCK_EX requires <sys/file.h> include
Zdenek Kabelac <[email protected]>
| Newsgroups | gmane.linux.lvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Dne 07. 02. 23 v 14:27 David Seifert napsal(a): > From: Jory Pratt <[email protected]> > > https://linux.die.net/man/2/flock > > Bug: https://bugs.gentoo.org/887259 > --- > tools/vgimportdevices.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/vgimportdevices.c b/tools/vgimportdevices.c > index ab359d31c..d8260c731 100644 > --- a/tools/vgimportdevices.c > +++ b/tools/vgimportdevices.c > @@ -15,6 +15,7 @@ > #include "tools.h" > #include "lib/cache/lvmcache.h" > #include "lib/device/device_id.h" > +#include <sys/file.h> > > struct vgimportdevices_params { > uint32_t added_devices; Hi & thanks I'll apply Regards Zdenek -- lvm-devel mailing list [email protected] https://listman.redhat.com/mailman/listinfo/lvm-devel