blob: 9a84d9c04ac5830f5dda8d794f411c4e712493d2 [file] [log] [blame]
Andrew Geisslereff27472021-10-29 15:35:00 -05001From 647447e220e7e47e214c8258c7d4fbdb0da058aa 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"