Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 1 | From 2284f2f44b1b30f10b9196e0f5c6d0a2e0c1871f Mon Sep 17 00:00:00 2001 |
| 2 | From: Alex Kiernan <alex.kiernan@gmail.com> |
| 3 | Date: Fri, 7 Aug 2020 15:19:27 +0000 |
| 4 | Subject: [PATCH] Handle missing LOCK_EX |
| 5 | |
| 6 | Upstream-Status: Inappropriate [musl specific] |
| 7 | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> |
| 8 | |
| 9 | --- |
| 10 | src/partition/makefs.c | 1 + |
| 11 | 1 file changed, 1 insertion(+) |
| 12 | |
| 13 | diff --git a/src/partition/makefs.c b/src/partition/makefs.c |
| 14 | index 7c94fbfedb..42f966722d 100644 |
| 15 | --- a/src/partition/makefs.c |
| 16 | +++ b/src/partition/makefs.c |
| 17 | @@ -6,6 +6,7 @@ |
| 18 | #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" |