All of lore.kernel.org
 help / color / mirror / Atom feed
* main - vgimportdevices: LOCK_EX requires <sys/file.h> include
@ 2023-02-10 16:53 Zdenek Kabelac
  0 siblings, 0 replies; only message in thread
From: Zdenek Kabelac @ 2023-02-10 16:53 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=a1a1439215f56335a06ae5ac6ca73b5e0d734760
Commit:        a1a1439215f56335a06ae5ac6ca73b5e0d734760
Parent:        be124ae81027e8736106e4958bd2dfab971d6764
Author:        Jory Pratt <anarchy@gentoo.org>
AuthorDate:    Tue Feb 7 14:27:12 2023 +0100
Committer:     Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Fri Feb 10 17:50:27 2023 +0100

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

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

Bug: https://bugs.gentoo.org/887259
---
 tools/vgimportdevices.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/vgimportdevices.c b/tools/vgimportdevices.c
index ab359d31c..07d07402a 100644
--- a/tools/vgimportdevices.c
+++ b/tools/vgimportdevices.c
@@ -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;


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-10 16:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-10 16:53 main - vgimportdevices: LOCK_EX requires <sys/file.h> include Zdenek Kabelac

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.