25 lines
678 B
Diff
25 lines
678 B
Diff
|
From 6e593ff2afbe4bfe15eee2ec34e51490a38462f5 Mon Sep 17 00:00:00 2001
|
||
|
From: Alex Kiernan <alex.kiernan@gmail.com>
|
||
|
Date: Fri, 7 Aug 2020 15:19:27 +0000
|
||
|
Subject: [PATCH] Handle missing LOCK_EX
|
||
|
|
||
|
Upstream-Status: Inappropriate [musl specific]
|
||
|
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
|
||
|
|
||
|
---
|
||
|
src/partition/makefs.c | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/src/partition/makefs.c b/src/partition/makefs.c
|
||
|
index 7c94fbfedb..42f966722d 100644
|
||
|
--- a/src/partition/makefs.c
|
||
|
+++ b/src/partition/makefs.c
|
||
|
@@ -6,6 +6,7 @@
|
||
|
#include <sys/stat.h>
|
||
|
#include <sys/types.h>
|
||
|
#include <unistd.h>
|
||
|
+#include <sys/file.h>
|
||
|
|
||
|
#include "alloc-util.h"
|
||
|
#include "blockdev-util.h"
|