Skip to contentSkip to conversation

tools: Add missing include for LOCK_EX

PATCH New Sam James 1 participant 1 message Dec 22, 2022

lore
Share & tools
lore

Sam James

author
#0 lore raw

PATCH 1/1 tools: Add missing include for LOCK_EX

From: Jory Pratt <[email protected]>

Fixes musl build.

---
 tools/vgimportdevices.c | 1 +
 1 file changed, 1 insertion(+)
tools/vgimportdevices.c +1 -0
index ab359d31c..d8260c731 100644
@@ -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;
Signature · 1 line
2.39.0