projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae6ad21
)
partition/makefs: Include missing sys/file.h header
author
Ikey Doherty
<ikey.doherty@lispysnake.com>
Thu, 27 Aug 2020 16:45:45 +0000
(17:45 +0100)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Fri, 28 Aug 2020 11:32:09 +0000
(13:32 +0200)
This file must be included on non-glibc systems to ensure
the `LOCK_EX` definition is available.
Signed-off-by: Ikey Doherty <ikey.doherty@lispysnake.com>
src/partition/makefs.c
patch
|
blob
|
history
diff --git
a/src/partition/makefs.c
b/src/partition/makefs.c
index 1ce6acd01e8fa1cd70b3758879555fb8775df37c..30dcef20757d709347cc67694dc97b53e790a969 100644
(file)
--- a/
src/partition/makefs.c
+++ b/
src/partition/makefs.c
@@
-1,6
+1,7
@@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <fcntl.h>
+#include <sys/file.h>
#include <sys/prctl.h>
#include <sys/stat.h>
#include <sys/types.h>