blob: d51ac4265a6e959c080f19ba784ad9a9674e6cde [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001From 2284f2f44b1b30f10b9196e0f5c6d0a2e0c1871f Mon Sep 17 00:00:00 2001
Andrew Geissler635e0e42020-08-21 15:58:33 -05002From: Alex Kiernan <alex.kiernan@gmail.com>
3Date: Fri, 7 Aug 2020 15:19:27 +0000
William A. Kennington IIIac69b482021-06-02 12:28:27 -07004Subject: [PATCH] Handle missing LOCK_EX
Andrew Geissler635e0e42020-08-21 15:58:33 -05005
6Upstream-Status: Inappropriate [musl specific]
7Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
William A. Kennington IIIac69b482021-06-02 12:28:27 -07008
Andrew Geissler635e0e42020-08-21 15:58:33 -05009---
10 src/partition/makefs.c | 1 +
11 1 file changed, 1 insertion(+)
12
13diff --git a/src/partition/makefs.c b/src/partition/makefs.c
William A. Kennington IIIac69b482021-06-02 12:28:27 -070014index 7c94fbfedb..42f966722d 100644
Andrew Geissler635e0e42020-08-21 15:58:33 -050015--- a/src/partition/makefs.c
16+++ b/src/partition/makefs.c
Andrew Geisslerd1e89492021-02-12 15:35:20 -060017@@ -6,6 +6,7 @@
Andrew Geissler635e0e42020-08-21 15:58:33 -050018 #include <sys/stat.h>
19 #include <sys/types.h>
20 #include <unistd.h>
21+#include <sys/file.h>
22
23 #include "alloc-util.h"
24 #include "blockdev-util.h"