summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0021-Handle-missing-LOCK_EX.patch
blob: 67d9162c08064249859aee9c4d22fbc50de8e105 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From 190854c2114dc6e74c8859dc251e3737e3c0f353 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 97f50c9033..7f55acd229 100644
--- a/src/partition/makefs.c
+++ b/src/partition/makefs.c
@@ -5,6 +5,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <unistd.h>
+#include <sys/file.h>
 
 #include "alloc-util.h"
 #include "blockdev-util.h"