summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0021-Handle-missing-LOCK_EX.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0021-Handle-missing-LOCK_EX.patch')
-rw-r--r--meta/recipes-core/systemd/systemd/0021-Handle-missing-LOCK_EX.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/0021-Handle-missing-LOCK_EX.patch b/meta/recipes-core/systemd/systemd/0021-Handle-missing-LOCK_EX.patch
new file mode 100644
index 0000000000..67d9162c08
--- /dev/null
+++ b/meta/recipes-core/systemd/systemd/0021-Handle-missing-LOCK_EX.patch
@@ -0,0 +1,23 @@
1From 190854c2114dc6e74c8859dc251e3737e3c0f353 Mon Sep 17 00:00:00 2001
2From: Alex Kiernan <alex.kiernan@gmail.com>
3Date: Fri, 7 Aug 2020 15:19:27 +0000
4Subject: [PATCH] Handle missing LOCK_EX
5
6Upstream-Status: Inappropriate [musl specific]
7Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
8---
9 src/partition/makefs.c | 1 +
10 1 file changed, 1 insertion(+)
11
12diff --git a/src/partition/makefs.c b/src/partition/makefs.c
13index 97f50c9033..7f55acd229 100644
14--- a/src/partition/makefs.c
15+++ b/src/partition/makefs.c
16@@ -5,6 +5,7 @@
17 #include <sys/stat.h>
18 #include <sys/types.h>
19 #include <unistd.h>
20+#include <sys/file.h>
21
22 #include "alloc-util.h"
23 #include "blockdev-util.h"